mirror of
https://github.com/rwinkhart/go-boilerplate.git
synced 2026-10-27 05:39:58 -04:00
Initial code commit
This commit is contained in:
1 parent
f08b95f350
commit
857b8526a1
9 files changed
+208
No files matched your search
@@ -0,0 +1,10 @@
|
||||
//go:build !interactive
|
||||
|
||||
package back
|
||||
|
||||
import "os"
|
||||
|
||||
// Exit (hard) is meant to be used in non-interactive CLI implementations to exit the program after an operation.
|
||||
func Exit(code int) {
|
||||
os.Exit(code)
|
||||
}
|
||||
Reference in new issue
Block a user