https://github.com/foxxorcat/mopan-sdk-go
https://github.com/foxxorcat/mopan-sdk-go
Last synced: 3 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 (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-23T10:31:25.000Z (about 1 year ago)
- Last Synced: 2025-03-28T11:39:12.876Z (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)
}
}```