7
0
gaore-common-sdk-go/services/script/client_test.go
2024-09-19 10:21:07 +08:00

22 lines
279 B
Go

package script
import (
"fmt"
"testing"
)
func TestOpenGame(t *testing.T) {
client, err := NewClient()
if err != nil {
panic(err)
}
req := CreateOpenGameReq(7275)
resp, err := client.OpenGame(req)
if err != nil {
panic(err)
}
fmt.Println(resp.Code, resp.Msg)
}