blob: 4c35f297562c1484e9991a6f4eab71e32a87ebd6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// +build OMIT
package main
import "fmt"
const typedHello string = "Hello, 世界"
func main() {
type MyString string
var m MyString
// START OMIT
m = MyString(typedHello)
fmt.Println(m)
// STOP OMIT
}
|