You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
320 B
Go
20 lines
320 B
Go
2 months ago
|
package test
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
"gitea.weitiangame.com/sdk/wt-game/point"
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
var pointSdk = point.New("your-client-id", nil)
|
||
|
|
||
|
// TestOrderSign 测试订单签名
|
||
|
func TestPoint(t *testing.T) {
|
||
|
event, err := pointSdk.Event(map[string]interface{}{
|
||
|
"test": "test",
|
||
|
})
|
||
|
|
||
|
fmt.Println(event)
|
||
|
fmt.Println(err)
|
||
|
}
|