Programming Code Center(PCC)
[GO]

(PCC)::[How-to-perform-Exit-operations-in-go-language]::[go]

File Name : exit.go

package main

import (
    "fmt"
    "os"
)

func main() {

    defer fmt.Println("!")

    os.Exit(3)
}

Output :

exit.jpg