【Golang】类型 - string

Posted by 西维蜀黍 on 2020-08-02, Last Modified on 2021-09-21

type string

string is the set of all strings of 8-bit bytes, conventionally but not necessarily representing UTF-8-encoded text. A string may be empty, but not nil. Values of string type are immutable.

type string string

Reference