diff --git a/base/cli/system.go b/base/cli/system.go index 296dd58e..bdeb751f 100644 --- a/base/cli/system.go +++ b/base/cli/system.go @@ -159,6 +159,7 @@ const ( EXIT = "exit" ECHO = "echo" REST = "rest" + RELAY = "relay" OPENS = "opens" PARAM = "param" ) diff --git a/base/mdb/mdb.go b/base/mdb/mdb.go index 5e26e8fe..bd04fca8 100644 --- a/base/mdb/mdb.go +++ b/base/mdb/mdb.go @@ -135,6 +135,7 @@ const ( REPEAT = "repeat" REVERT = "revert" RENAME = "rename" + VENDOR = "vendor" PRUNE = "prune" PAGE = "page" diff --git a/conf.go b/conf.go index d998c632..0c4c7a6b 100644 --- a/conf.go +++ b/conf.go @@ -52,6 +52,11 @@ const ( RUN = "run" RES = "res" ERR = "err" + + STR = "str" + STR_R = "str_r" + INT_R = "int_r" + INT = "int" ) const ( // REPOS CONTEXTS = "contexts" diff --git a/meta.go b/meta.go index 3a9458c8..8de04bb0 100644 --- a/meta.go +++ b/meta.go @@ -280,14 +280,6 @@ func (m *Message) TableEchoWithStatus() *Message { kit.If(len(list) > 0, func() { m.Echo(strings.Join(list, SP)).Echo(NL) }) return m } - -const ( - STR = "str" - STR_R = "str_r" - INT_R = "int_r" - INT = "int" -) - func (m *Message) Sort(key string, arg ...Any) *Message { if m.FieldsIsDetail() { return m