mirror of
https://shylinux.com/x/education
synced 2025-04-25 10:08:05 +08:00
opt some
This commit is contained in:
parent
85b30ab3fd
commit
f8e3e79d37
2
go.mod
2
go.mod
@ -1,4 +1,4 @@
|
|||||||
module 2024-contexts.shylinux.com/x/education
|
module shylinux.com/x/education
|
||||||
|
|
||||||
go 1.13
|
go 1.13
|
||||||
|
|
||||||
|
15
src/hi/hi.go
15
src/hi/hi.go
@ -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{}) }
|
|
@ -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" }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user