Fork me on GitHub
摘要: 在go语言中没有类以及构造函数的说法,只有类似的结构体: package main import "fmt" type Books struct { title string author string subject string book_id int } func main() { // 创建 阅读全文
posted @ 2020-04-27 17:40 Something_Diffrent 阅读(417) 评论(0) 推荐(0) 编辑