github.com/graybobo/golang.org-package-offline-cache@v0.0.0-20200626051047-6608995c132f/x/talks/2012/goforc/decls.go (about)

     1  // +build OMIT
     2  
     3  package main
     4  
     5  // START OMIT
     6  import "fmt"
     7  
     8  const digits = "0123456789abcdef"
     9  
    10  type Point struct {
    11  	x, y int
    12  	tag  string
    13  }
    14  
    15  var s [32]byte
    16  
    17  var msgs = []string{"Hello, 世界", "Ciao, Mondo"}
    18  
    19  func itoa(x, base int) string
    20  
    21  // STOP OMIT
    22  
    23  func main() {
    24  	fmt.Println() // use fmt
    25  }