This commit is contained in:
2024-05-03 17:06:05 +05:30
parent 8625fc2d5e
commit 5d73c57919
2 changed files with 16 additions and 2 deletions

12
exit/exit.go Normal file
View File

@@ -0,0 +1,12 @@
package exit
import (
"fmt"
"os"
)
func Exit() {
defer fmt.Println("this will never get printed when using os.Exit()")
os.Exit(3)
}