for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
package mtnmomo
import "net/http"
type clientConfig struct {
httpClient *http.Client
baseURL string
subscriptionKey string
targetEnvironment string
apiKey string
apiUser string
}
func defaultClientConfig() *clientConfig {
return &clientConfig{
httpClient: http.DefaultClient,
baseURL: "https://sandbox.momodeveloper.mtn.com/",