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

How about adding "app.go" as the default conf, just like "main.go" #3

Closed
xiaoyixiao369 opened this issue Oct 23, 2017 · 2 comments
Closed

Comments

@xiaoyixiao369
Copy link

As the title, thanks!

@cosmtrek
Copy link
Collaborator

In Go world, main.go is the default executable file name.

I think you can copy a air.conf.example to your project working directory, and modify build params like

...
[build]
bin = "tmp/app"
cmd = "go build -o ./tmp/app app.go"
...

Could you explain why you ask for this change?

@xiaoyixiao369
Copy link
Author

@cosmtrek thank you so much. I am from JS world, most entrance of programs we named it as app.js.

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

No branches or pull requests

2 participants