mopan SDK for the Go programming language
go get github.com/foxxorcat/mopan-sdk-go
package main
import (
"fmt"
"github.com/foxxorcat/mopan-sdk-go"
)
func main() {
m := mopan.NewClient().SetAuthorization("ZR7Lxxx")
res, err := m.GetUserInfo()
if err != nil {
fmt.Printf("GetUserInfo() error = %v", err)
} else {
fmt.Printf("GetUserInfo() = %+v", res)
}
}