项目数据结构

This commit is contained in:
2025-08-15 03:54:17 +08:00
parent a2fc803819
commit 143ebd1e32

29
model/model.go Normal file
View File

@@ -0,0 +1,29 @@
package model
import "fmt"
type Task struct {
Id string
Content string
}
type Data struct {
Count int
Record map[int]int
}
type Student struct {
Name string
Age int
}
func (stu Student) Prinfstu() {
fmt.Println(stu.Age)
fmt.Println(stu.Name)
}
type CursorData struct {
Uid string
Author string
Age int
}