Use os.Exit to immediately exit with a given status
package main import ( "fmt" "os" ) func main() { defer fmt.Println("!") os.Exit(3) }
exit status 3
总结 :
1 : .....
时间: 2024-08-06 17:24:29
Use os.Exit to immediately exit with a given status
package main import ( "fmt" "os" ) func main() { defer fmt.Println("!") os.Exit(3) }
exit status 3
总结 :
1 : .....