Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InterfaceToJSON ¶
InterfaceToJSON converts any interface or struct to a prettyfied JSON string
Types ¶
type AccountData ¶
type AccountData struct { Users User `json:"users"` // contains filtered or unexported fields }
AccountData for the account
func (*AccountData) String ¶
func (a *AccountData) String() string
TODO: Can we somehow do this globally for everything? Override default stringer for AcccountData
func (*AccountData) ToJSON ¶
func (a *AccountData) ToJSON() string
ToJSON attempts to return a prettyfied JSON string
type Client ¶
Client for API operations
func (*Client) GetAccountData ¶
func (c *Client) GetAccountData() (*AccountData, error)
GetAccountData returns the account data for the current account
Click to show internal directories.
Click to hide internal directories.