Answers for "go goto"

1

go goto

package main
import "fmt"
func main() {
    learnGoTo()
}
func learnGoTo() {
    fmt.Println("a")
    goto FINISH
    fmt.Println("b")
FINISH:
    fmt.Println("c")
}
Posted by: Guest on June-11-2021

Browse Popular Code Answers by Language