package client type ( // Credentials provides constant credential values. Credentials struct { Username string `json:"username"` Password string `json:"password"` } ) func (c *Credentials) GetUsername() string { return c.Username } func (c *Credentials) GetPassword() string { return c.Password }