美文网首页
copy--strings,bytes,runes and ch

copy--strings,bytes,runes and ch

作者: 煜明will | 来源:发表于2017-04-26 10:38 被阅读0次
  • Introduction
    To use strings well requires understanding not only how they work but also the difference between a byte,a character,and a rune,the difference between Unicode and UTF-8,the difference between a string and a string literal, and other even more subtle distinctions.
  • What is a string
    In Go, a string is in effect a read-only slice of bytes.

相关文章

网友评论

      本文标题:copy--strings,bytes,runes and ch

      本文链接:https://www.haomeiwen.com/subject/bvhizttx.html