Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/foxxorcat/mopan-sdk-go
https://github.com/foxxorcat/mopan-sdk-go
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/foxxorcat/mopan-sdk-go
- Owner: foxxorcat
- License: apache-2.0
- Created: 2023-06-23T09:36:52.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-05-23T10:31:25.000Z (7 months ago)
- Last Synced: 2024-10-01T09:08:08.072Z (3 months ago)
- Language: Go
- Size: 59.6 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 mainimport (
"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)
}
}```