conf

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package conf provides Goggles configuration.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Save

func Save(c *Config) error

Save persists the provided Config.

Types

type Config

type Config struct {
	Gopath string `json:"gopath"`

	CanOpenTerminal bool `json:"canOpenTerminal"`
}

Config contains Goggles configuration.

func Get

func Get() *Config

Get returns the persisted Config.

Jump to

Keyboard shortcuts

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