mirror of
https://github.com/oarkflow/mq.git
synced 2025-10-05 07:57:00 +08:00
feat: implement websocket and UI
This commit is contained in:
@@ -28,7 +28,7 @@ type Result struct {
|
||||
func (r Result) MarshalJSON() ([]byte, error) {
|
||||
type Alias Result
|
||||
aux := &struct {
|
||||
ErrorMsg string `json:"error"`
|
||||
ErrorMsg string `json:"error,omitempty"`
|
||||
Alias
|
||||
}{
|
||||
Alias: (Alias)(r),
|
||||
|
Reference in New Issue
Block a user