Files
goLearn/model/model.go
2025-08-15 03:54:17 +08:00

30 lines
334 B
Go

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
}