feat: 项目初始化

This commit is contained in:
2025-12-03 23:29:51 +08:00
commit 016c44618b
14 changed files with 466 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
package model
type ClassRoom struct {
ID string
Name string
Addr string
Mask string
Gateway string
}
func (c ClassRoom) GetName() string {
return c.Name
}

5
internal/model/named.go Normal file
View File

@@ -0,0 +1,5 @@
package model
type Named interface {
GetName() string
}