mirror of
https://shylinux.com/x/community
synced 2025-04-25 17:48:06 +08:00
opt some
This commit is contained in:
parent
9d7fb0c2eb
commit
b67174b201
2
go.mod
2
go.mod
@ -1,4 +1,4 @@
|
||||
module 2024-contexts.shylinux.com/x/community
|
||||
module shylinux.com/x/community
|
||||
|
||||
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
|
||||
|
||||
import (
|
||||
_ "2024-contexts.shylinux.com/x/community/src/hi"
|
||||
"shylinux.com/x/ice"
|
||||
)
|
||||
import "shylinux.com/x/ice"
|
||||
|
||||
func main() { print(ice.Run()) }
|
||||
|
||||
func init() { ice.Info.Titles = "ContextOS" }
|
||||
func init() { ice.Info.Titles = "Community" }
|
||||
|
Loading…
x
Reference in New Issue
Block a user