config

package
v0.0.0-...-0c3563e Latest Latest
Warning

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

Go to latest
Published: May 23, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run() error

func Write

func Write(apiToken string) error

Types

type Config

type Config struct {
	APIToken string `json:"api_token"`
	BaseURL  string `json:"-"`
}

func Load

func Load() (*Config, error)

Jump to

Keyboard shortcuts

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