Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/foxxorcat/mopan-sdk-go


https://github.com/foxxorcat/mopan-sdk-go

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# mopan-sdk-go
mopan SDK for the Go programming language

## Installation

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

## Usage

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

```