internal

package
v2.2.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CliConfig

type CliConfig struct {
	GoogleApiKey string `json:"google_api_key"`
}

CliConfig represents the config used by the command line tool

func GetConfig

func GetConfig() (*CliConfig, error)

GetConfig loads the CliConfig from the config file

func (CliConfig) SaveConfig

func (config CliConfig) SaveConfig() error

SaveConfig saves the config to the config file

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL