23 lines
329 B
Go
23 lines
329 B
Go
|
package game
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
func TestGetGameOsInfo(t *testing.T) {
|
||
|
client, err := NewClient()
|
||
|
if err != nil {
|
||
|
panic(err)
|
||
|
}
|
||
|
|
||
|
req := CreateGetGameOsInfoReq()
|
||
|
|
||
|
resp, err := client.GetGameOsInfo(req)
|
||
|
if err != nil {
|
||
|
panic(err)
|
||
|
}
|
||
|
|
||
|
fmt.Println(resp.Code, resp.Msg, resp.Data.OsList, resp.Data.OsRelList2)
|
||
|
}
|