Files
public/message/msg_test.go
2021-05-25 20:28:24 +08:00

20 lines
284 B
Go

package message
import (
"fmt"
"testing"
)
type Test struct {
State bool `json:"state"`
Code int `json:"code"`
Error string `json:"error"`
}
func Test_sing(t *testing.T) {
var test Test
test.State = true
test.Error = ""
fmt.Println(GetSuccessMsg(NormalMessageID))
}