github.com/graybobo/golang.org-package-offline-cache@v0.0.0-20200626051047-6608995c132f/x/talks/2014/compiling/name1.go (about)

     1  // +build ignore
     2  
     3  package main
     4  
     5  import "fmt"
     6  
     7  // 2 START OMIT
     8  // 1 START OMIT
     9  func main() {
    10  	i := 1
    11  	f := func() T {
    12  		return T{
    13  			i: 1, // HL
    14  		}
    15  	}
    16  	fmt.Println(i, f())
    17  }
    18  
    19  // 1 END OMIT
    20  
    21  type T map[int]int
    22  
    23  // 2 END OMIT