mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-21 16:31:43 +02:00
refactor: refactor to adapt new custom json marshaler
This commit is contained in:
@@ -300,7 +300,3 @@ func (cmd *Command) isBypass() bool {
|
||||
func (cmd *Command) String() string {
|
||||
return cmd.raw
|
||||
}
|
||||
|
||||
func (cmd *Command) MarshalText() ([]byte, error) {
|
||||
return []byte(cmd.String()), nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user