摘要: package main import ( "fmt" "os" ) type stu struct { id int64 name string } type stuS struct { stuMap map[int64]stu } func (s stuS) add() { var ( id i 阅读全文
posted @ 2023-03-19 11:08 小白学程 阅读(25) 评论(0) 推荐(0)
摘要: package main import ( "fmt" "os" ) var ( allSt map[int64]*student ) type student struct { id int64 name string } func newStudent(id int64, name string 阅读全文
posted @ 2023-03-19 10:10 小白学程 阅读(36) 评论(0) 推荐(0)