Home | History | Annotate | Download | only in sys

Lines Matching refs:Fprintf

48 		fmt.Fprintf(&buf, "// Code generated by gengoos.go using 'go generate'. DO NOT EDIT.\n\n")
50 fmt.Fprintf(&buf, "// +build !android\n") // must explicitly exclude android for linux
52 fmt.Fprintf(&buf, "// +build %s\n\n", target) // must explicitly include target for bootstrapping purposes
53 fmt.Fprintf(&buf, "package sys\n\n")
54 fmt.Fprintf(&buf, "const GOOS = `%s`\n\n", target)
60 fmt.Fprintf(&buf, "const Goos%s = %d\n", strings.Title(goos), value)
70 fmt.Fprintf(&buf, "// Code generated by gengoos.go using 'go generate'. DO NOT EDIT.\n\n")
71 fmt.Fprintf(&buf, "// +build %s\n\n", target) // must explicitly include target for bootstrapping purposes
72 fmt.Fprintf(&buf, "package sys\n\n")
73 fmt.Fprintf(&buf, "const GOARCH = `%s`\n\n", target)
79 fmt.Fprintf(&buf, "const Goarch%s = %d\n", strings.Title(goarch), value)