- 链接地址:https://blog.csdn.net/gaojy19881225/article/details/101482913
- 链接标题:go语言学习12(结构体)_filed out-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:6880
文章浏览阅读339次。格式:type 结构体名称 struct{ field1 type field2 type}结构体如果需要导出到其他包用,则名字首字母需要大写;结构体中成员如果需要在其他包中引用,也需要首字母大写。例如:type Teststruct struct{ Fieldout int field..._filed out
版权声明:本文发布于特牛网址导航 内容均来源于互联网 如有侵权联系删除
标签:filed out