A go client for the Awqat Salah API.
Use go get
to retrieve the library and add it to the your GOPATH
workspace, or project's Go module dependencies.
go get github.com/cangiremir/awqatsalah-go
client, err := awqatsalah.New(awqatsalah.Credentials{
Email: '',
Password: '',
})
countries, err := c.Countries()
if err != nil {
log.Fatalf("error getting countries: %v", err)
}
return countries