From 439bd78535cd1cea1af0f1cc9c01f38cf6570897 Mon Sep 17 00:00:00 2001 From: shylinux Date: Tue, 7 Mar 2023 03:44:57 +0800 Subject: [PATCH] opt some --- src/h3/h3.go | 17 +++++++++++++++++ src/h3/h3.shy | 4 ++++ 2 files changed, 21 insertions(+) create mode 100644 src/h3/h3.go create mode 100644 src/h3/h3.shy diff --git a/src/h3/h3.go b/src/h3/h3.go new file mode 100644 index 00000000..8abdaf92 --- /dev/null +++ b/src/h3/h3.go @@ -0,0 +1,17 @@ +package h3 + +import ( + "shylinux.com/x/ice" +) + +type h3 struct { + ice.Zone + + list string `name:"list zone id auto insert" help:"h3"` +} + +func (s h3) List(m *ice.Message, arg ...string) { + s.Zone.List(m, arg...) +} + +func init() { ice.Cmd("web.code.h3.h3", h3{}) } diff --git a/src/h3/h3.shy b/src/h3/h3.shy new file mode 100644 index 00000000..38c138e3 --- /dev/null +++ b/src/h3/h3.shy @@ -0,0 +1,4 @@ +chapter "h3" + +field web.code.h3.h3 +