github.com/jmigpin/editor@v1.6.0/core/godebug/testdata/src23_goto.txt (about)

     1  # goto was changing the program, will be endless loop if it fails
     2  
     3  ucmd godebugtester run 
     4  contains stdout "false=(3 <= 1)"
     5  
     6  -- go.mod --
     7  module mod1
     8  -- main.go --
     9  package main
    10  func main() {
    11  	a:=[]int{1}
    12  redo:
    13  	k := len(a)
    14  	if k<=1{
    15  		a=[]int{1,2,3}
    16  		goto redo
    17  	}
    18  }
    19  
    20