Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fill the content of a new file automatically based on the context #918

Merged
merged 1 commit into from
Jun 30, 2016

Conversation

fatih
Copy link
Owner

@fatih fatih commented Jun 30, 2016

This is a new feature that fills the content of a new file according the
to current directories context. If there are no Go files, a simple hello
main package is created, otherwise a file with package declaration
based on the current package is created.

Demo:

screen recording 2016-06-30 at 04 48 am

@fatih fatih force-pushed the auto-create-template branch 2 times, most recently from a6b2af5 to 4e53ad6 Compare June 30, 2016 19:51
This is a new feature that fills the content of a new file according the
to current directories context. If there are no Go files, a simple hello
main package is created, otherwise a file with package declaration
basedon the current package is created.
@fatih fatih merged commit d142f7d into master Jun 30, 2016
@fatih fatih deleted the auto-create-template branch June 30, 2016 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant