github.com/graybobo/golang.org-package-offline-cache@v0.0.0-20200626051047-6608995c132f/x/talks/2014/compiling/var1.go (about) 1 // +build ignore 2 3 package main 4 5 import ( 6 "fmt" 7 "os" 8 ) 9 10 // 1 START OMIT 11 var V = struct { 12 name string 13 os.FileMode 14 }{ 15 name: "hello.go", 16 } 17 18 func main() { 19 fmt.Println(V) 20 } 21 // 1 END OMIT