config

package
v0.0.0-...-c9abf0a Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2016 License: BSD-3-Clause Imports: 8 Imported by: 2

Documentation

Index

Constants

View Source
const FILE_PATH = "git-fit.json"

Variables

View Source
var NEWLINE_CHECKING_PATTERN = regexp.MustCompile("\n$")

Functions

func SaveConfig

func SaveConfig(config *Config) error

Types

type Config

type Config struct {
	Version int               `json:"version"`
	Files   map[string]string `json:"files"`
}

func LoadConfig

func LoadConfig() (*Config, error)

Jump to

Keyboard shortcuts

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