mirror of
https://github.com/rwinkhart/go-boilerplate.git
synced 2026-09-06 00:57:16 -04:00
Initial code commit
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
//go:build interactive
|
||||
|
||||
package back
|
||||
|
||||
// Exit (soft) is meant to be used in interactive implementations (GUIs/TUIs) to keep the program running after an operation.
|
||||
func Exit(code int) int {
|
||||
return code
|
||||
}
|
||||
Reference in New Issue
Block a user