Skip to content

foxxorcat/mopan-sdk-go

Repository files navigation

mopan-sdk-go

mopan SDK for the Go programming language

Installation

go get github.com/foxxorcat/mopan-sdk-go

Usage

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)
	}
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages