示例#1
0
文件: main.go 项目: gi4nks/ambros
func readSettings() {
	settings.LoadSettings()

	if settings.DebugMode() {
		parrot = quant.NewVerboseParrot("ambros")
	}
}
示例#2
0
文件: main.go 项目: gi4nks/decanter
func readSettings() {
	settings.LoadSettings()

	if settings.DebugMode() {
		parrot = quant.NewVerboseParrot("decanter")
	}

	parrot.Debug("Parrot is set to talk so much!")
}