qor-example
qor-example copied to clipboard
Is run after compile not possible ?
https://github.com/qor/qor-example/blob/debf77110d7a9eeea6835234a100e73fc699503a/main.go#L107 Here in the code it says either compile or serve. Was this done by choice or run after compile isn't possible at all ?
Ok I found the defer os.Exit(0)
line in compile function. Why would anyone call os.Exit() ever in a program ??