Go has goto keyword.

You should try very hard to avoid using goto. But in the rare situations where it makes your code more readable, it is an option.

Example when goto improves the code:

func main() {
    a := rand.Intn(10)
    for a < 100 {
        if a%5 == 0 {
            goto done
        }
        a = a*2 + 1
    }
    fmt.Println("do something when the loop completes normally")
done:
    fmt.Println("do complicated stuff no matter why we left the loop")
    fmt.Println(a)
}