Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 434 Bytes

README.md

File metadata and controls

30 lines (23 loc) · 434 Bytes

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