Sign in
go
/
website
/
277b202ae2a6edfa32080b5a38ec48bea6fbdf25
/
.
/
_content
/
blog
/
constants
/
string4.go
blob: 4c35f297562c1484e9991a6f4eab71e32a87ebd6 [
file
] [
log
] [
blame
]
// +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
}