Skip to content

eolymp/go-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eolymp Golang SDK

E-Olymp Golang SDK provides development kit for interacting with E-Olymp API.

Usage

Install package using following command:

go get github.com/eolymp/go-sdk

Create client object and send a request:

cognito := cognitopb.NewCognito(http.DefaultClient) // decorate client to inject authentication details

user, err := cognito.DescribeUser(context.Background(), &cognitopb.DescribeUserInput{UserId: "1234"})
if err != nil {
    panic(err)
}