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

Is run after compile not possible ? #182

Open
MohitKS5 opened this issue May 15, 2020 · 1 comment
Open

Is run after compile not possible ? #182

MohitKS5 opened this issue May 15, 2020 · 1 comment

Comments

@MohitKS5
Copy link

MohitKS5 commented May 15, 2020

if *compileTemplate {

Here in the code it says either compile or serve. Was this done by choice or run after compile isn't possible at all ?

@MohitKS5
Copy link
Author

Ok I found the defer os.Exit(0) line in compile function. Why would anyone call os.Exit() ever in a program ??

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

1 participant