fusenapi/utils/websocket_data/event_test.go
2023-08-24 18:28:01 +08:00

14 lines
209 B
Go

package websocket_data
import (
"encoding/json"
"log"
"testing"
)
func TestEvent(t *testing.T) {
data, _ := json.Marshal(NewWebsocketEvent(UserEmailRegister).WithCode(200))
log.Println(string(data))
}