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