From 779ea0d28c344943a03b35c68ca95dea8dc0e1f3 Mon Sep 17 00:00:00 2001 From: harveyshao Date: Mon, 24 Jan 2022 17:29:56 +0800 Subject: [PATCH] opt some --- src/h1/h1.go | 18 ++++++++++++++++++ src/hi.svg | 1 + src/main.go | 2 ++ src/website/he.txt | 8 ++++++++ 4 files changed, 29 insertions(+) create mode 100644 src/h1/h1.go create mode 100644 src/hi.svg create mode 100644 src/website/he.txt diff --git a/src/h1/h1.go b/src/h1/h1.go new file mode 100644 index 00000000..cd3b4298 --- /dev/null +++ b/src/h1/h1.go @@ -0,0 +1,18 @@ +package h1 + +import ( + "shylinux.com/x/ice" +) + +type h1 struct { + ice.Hash + + list string `name:"list hash id auto create" help:"数据"` +} + +func (h h1) List(m *ice.Message, arg ...string) { + h.Hash.List(m, arg...) +} + +func init() { ice.Cmd("web.code.h1.h1.go", h1{}) } + diff --git a/src/hi.svg b/src/hi.svg new file mode 100644 index 00000000..3b772a72 --- /dev/null +++ b/src/hi.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/main.go b/src/main.go index 1cd42d5b..552ee4a9 100644 --- a/src/main.go +++ b/src/main.go @@ -1,6 +1,8 @@ package main import ( + _ "shylinux.com/x/contexts/src/h1" + _ "shylinux.com/x/contexts/src/hi" "shylinux.com/x/ice" diff --git a/src/website/he.txt b/src/website/he.txt new file mode 100644 index 00000000..b051144c --- /dev/null +++ b/src/website/he.txt @@ -0,0 +1,8 @@ + +hi + hi + cli.qrcode + nfs.dir + cli.system + cli.runtime +