mirror of
https://shylinux.com/x/enterprise
synced 2025-04-25 01:08:04 +08:00
opt some
This commit is contained in:
parent
d4efd22626
commit
2dad729845
7
go.mod
7
go.mod
@ -1,5 +1,8 @@
|
||||
module 2024-contexts.shylinux.com/x/enterprise
|
||||
module shylinux.com/x/enterprise
|
||||
|
||||
go 1.13
|
||||
|
||||
require shylinux.com/x/ice v1.5.40 // indirect
|
||||
require (
|
||||
shylinux.com/x/ice v1.5.40
|
||||
shylinux.com/x/icebergs v1.9.38
|
||||
)
|
||||
|
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/enterprise/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 = "Enterprise" }
|
||||
|
Loading…
x
Reference in New Issue
Block a user