Documentation ¶ Index ¶ func New(accessToken string, baseURI string, cliVersion string) *ldapi.APIClient Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New(accessToken string, baseURI string, cliVersion string) *ldapi.APIClient New creates an LD API client. It's not set as a field on the struct because the CLI flags are evaluated when running the command, not when executing the program. That means we don't have the flag values until the command's RunE method is called. Types ¶ This section is empty. Source Files ¶ View all Source files client.go Click to show internal directories. Click to hide internal directories.