package mainimport ( "fmt" "os")func main() { //当使用`os.Exit`的时候defer操做不会被运行 因此这里的``fmt.Println`将不会被调用 defer fmt.Println("!") os.Exit(3)}