E-Olymp Golang SDK provides development kit for interacting with E-Olymp API.
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)
}