setting

package
v0.0.0-...-5e72b1c Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2015 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cfg struct {
	Run struct {
		InitCmds   [][]string `toml:"init_cmds"`
		WatchAll   bool       `toml:"watch_all"`
		WatchDirs  []string   `toml:"watch_dirs"`
		WatchExts  []string   `toml:"watch_exts"`
		BuildDelay int        `toml:"build_delay"`
		Cmds       [][]string `toml:"cmds"`
	} `toml:"run"`
	Sync struct {
		ListenAddr string `toml:"listen_addr"`
		RemoteAddr string `toml:"remote_addr"`
	} `toml:"sync"`
}
View Source
var (
	WorkDir string
)

Functions

func InitSetting

func InitSetting()

func UnpackPath

func UnpackPath(path string) string

UnpackPath replaces special path variables and returns full path.

Types

This section is empty.

Jump to

Keyboard shortcuts

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