This commit is contained in:
IT 老营长 @云轩领航-创始人 2024-07-24 17:46:16 +08:00
parent 85b30ab3fd
commit f8e3e79d37
3 changed files with 3 additions and 21 deletions

2
go.mod
View File

@ -1,4 +1,4 @@
module 2024-contexts.shylinux.com/x/education module shylinux.com/x/education
go 1.13 go 1.13

View File

@ -1,15 +0,0 @@
package hi
import "shylinux.com/x/ice"
type hi struct {
ice.Hash
list string `name:"list hash auto" help:"hi"`
}
func (s hi) List(m *ice.Message, arg ...string) {
s.Hash.List(m, arg...)
}
func init() { ice.Cmd("web.chat.hi.hi", hi{}) }

View File

@ -1,10 +1,7 @@
package main package main
import ( import "shylinux.com/x/ice"
_ "2024-contexts.shylinux.com/x/education/src/hi"
"shylinux.com/x/ice"
)
func main() { print(ice.Run()) } func main() { print(ice.Run()) }
func init() { ice.Info.Titles = "ContextOS" } func init() { ice.Info.Titles = "Education" }