Created
July 29, 2017 07:51
-
-
Save bam6o0/ea327a08a46f61e2a0ba5ec458a9d963 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import "fmt" | |
func main() { | |
var en string = "golang" | |
var ja string = "Go言語" | |
fmt.Println(en, "len", len(en)) | |
fmt.Println(ja, "len", len(ja)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment