Sign in
go
/
website
/
7c70422195a86cb0d14b33f35ed26183480db268
/
.
/
_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
}