1
0
forked from x/icebergs
This commit is contained in:
IT 老营长 @云轩领航-创始人 2024-03-23 13:23:26 +08:00
parent d3e0e06831
commit a281411239
4 changed files with 7 additions and 8 deletions

View File

@ -159,6 +159,7 @@ const (
EXIT = "exit" EXIT = "exit"
ECHO = "echo" ECHO = "echo"
REST = "rest" REST = "rest"
RELAY = "relay"
OPENS = "opens" OPENS = "opens"
PARAM = "param" PARAM = "param"
) )

View File

@ -135,6 +135,7 @@ const (
REPEAT = "repeat" REPEAT = "repeat"
REVERT = "revert" REVERT = "revert"
RENAME = "rename" RENAME = "rename"
VENDOR = "vendor"
PRUNE = "prune" PRUNE = "prune"
PAGE = "page" PAGE = "page"

View File

@ -52,6 +52,11 @@ const (
RUN = "run" RUN = "run"
RES = "res" RES = "res"
ERR = "err" ERR = "err"
STR = "str"
STR_R = "str_r"
INT_R = "int_r"
INT = "int"
) )
const ( // REPOS const ( // REPOS
CONTEXTS = "contexts" CONTEXTS = "contexts"

View File

@ -280,14 +280,6 @@ func (m *Message) TableEchoWithStatus() *Message {
kit.If(len(list) > 0, func() { m.Echo(strings.Join(list, SP)).Echo(NL) }) kit.If(len(list) > 0, func() { m.Echo(strings.Join(list, SP)).Echo(NL) })
return m return m
} }
const (
STR = "str"
STR_R = "str_r"
INT_R = "int_r"
INT = "int"
)
func (m *Message) Sort(key string, arg ...Any) *Message { func (m *Message) Sort(key string, arg ...Any) *Message {
if m.FieldsIsDetail() { if m.FieldsIsDetail() {
return m return m