From 143ebd1e32f0d9bb4bb13be170e57488ecfb1f78 Mon Sep 17 00:00:00 2001 From: mayiming <1627832236@qq.com> Date: Fri, 15 Aug 2025 03:54:17 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E6=95=B0=E6=8D=AE=E7=BB=93?= =?UTF-8?q?=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- model/model.go | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 model/model.go diff --git a/model/model.go b/model/model.go new file mode 100644 index 0000000..9c2ab6a --- /dev/null +++ b/model/model.go @@ -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 +}