Files
go-boilerplate/back/exitHard.go
T
2025-05-09 15:43:43 +00:00

11 lines
205 B
Go

//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)
}