31. Go - Strings
Strings are a slice of bytes, uint8. They are immutable, cannot change a variable's individual bytes.
Declaring variable string:
aString := "double quoted"
Raw string literal
Declaring variable string back ticks:
aString := `helllo, "DOG"`
Comments
Post a Comment