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