For some reason many types are marked up with tags for JSON marshaling even though they aren't ever exported. I should probably just clean the code up and get rid of them.
e.g.
// Configuration provides all of the information needed to configure
// an APIClient.
type Configuration struct {
BasePath string `json:"basePath,omitempty"`
Host string `json:"host,omitempty"`
Scheme string `json:"scheme,omitempty"`
DefaultHeader map[string]string `json:"defaultHeader,omitempty"`
UserAgent string `json:"userAgent,omitempty"`
HTTPClient *http.Client
}
For some reason many types are marked up with tags for JSON marshaling even though they aren't ever exported. I should probably just clean the code up and get rid of them.
e.g.