feat: implement websocket and UI

This commit is contained in:
Oarkflow
2024-10-29 22:11:10 +05:45
parent c7a8ad466e
commit fb05a97860
6 changed files with 54 additions and 22 deletions

View File

@@ -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),