LEFT | RIGHT |
1 // Copyright 2009 The Go Authors. All rights reserved. | 1 // Copyright 2009 The Go Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style | 2 // Use of this source code is governed by a BSD-style |
3 // license that can be found in the LICENSE file. | 3 // license that can be found in the LICENSE file. |
4 | 4 |
5 /* | 5 /* |
6 Package runtime contains operations that interact with Go's runtime syst
em, | 6 Package runtime contains operations that interact with Go's runtime syst
em, |
7 such as functions to control goroutines. It also includes the low-level
type information | 7 such as functions to control goroutines. It also includes the low-level
type information |
8 used by the reflect package; see reflect's documentation for the program
mable | 8 used by the reflect package; see reflect's documentation for the program
mable |
9 interface to the run-time type system. | 9 interface to the run-time type system. |
10 */ | 10 */ |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 | 134 |
135 // GOOS is the running program's operating system target: | 135 // GOOS is the running program's operating system target: |
136 // one of darwin, freebsd, linux, and so on. | 136 // one of darwin, freebsd, linux, and so on. |
137 const GOOS string = theGoos | 137 const GOOS string = theGoos |
138 | 138 |
139 // GOARCH is the running program's architecture target: | 139 // GOARCH is the running program's architecture target: |
140 // 386, amd64, or arm. | 140 // 386, amd64, or arm. |
141 const GOARCH string = theGoarch | 141 const GOARCH string = theGoarch |
142 | 142 |
143 // panicvers is printed by panic | 143 // panicvers is printed by panic |
144 var panicvers = "Go runtime version: " + theVersion + " " + GOOS + "/" + GOARCH
+ "\n" | 144 var panicvers = "runtime version: " + theVersion + "\nruntime host: " + GOOS + "
/" + GOARCH + "\n" |
LEFT | RIGHT |