lint
This commit is contained in:
parent
35523e2603
commit
2567ec3ce9
|
@ -8,6 +8,7 @@ import (
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// Default values and info
|
||||||
const (
|
const (
|
||||||
AppName = "Realize"
|
AppName = "Realize"
|
||||||
AppVersion = "v1.0"
|
AppVersion = "v1.0"
|
||||||
|
@ -18,14 +19,23 @@ const (
|
||||||
)
|
)
|
||||||
|
|
||||||
var wg sync.WaitGroup
|
var wg sync.WaitGroup
|
||||||
|
// Green color bold
|
||||||
var Green = color.New(color.FgGreen, color.Bold).SprintFunc()
|
var Green = color.New(color.FgGreen, color.Bold).SprintFunc()
|
||||||
|
// Red color bold
|
||||||
var Red = color.New(color.FgRed, color.Bold).SprintFunc()
|
var Red = color.New(color.FgRed, color.Bold).SprintFunc()
|
||||||
|
// RedS color used for errors
|
||||||
var RedS = color.New(color.FgRed).SprintFunc()
|
var RedS = color.New(color.FgRed).SprintFunc()
|
||||||
var BlueS = color.New(color.FgBlue).SprintFunc()
|
// Blue color bold used for project output
|
||||||
var Blue = color.New(color.FgBlue, color.Bold).SprintFunc()
|
var Blue = color.New(color.FgBlue, color.Bold).SprintFunc()
|
||||||
|
// BlueS color
|
||||||
|
var BlueS = color.New(color.FgBlue).SprintFunc()
|
||||||
|
// Yellow color bold
|
||||||
var Yellow = color.New(color.FgYellow, color.Bold).SprintFunc()
|
var Yellow = color.New(color.FgYellow, color.Bold).SprintFunc()
|
||||||
|
// YellowS color
|
||||||
var YellowS = color.New(color.FgYellow).SprintFunc()
|
var YellowS = color.New(color.FgYellow).SprintFunc()
|
||||||
|
// MagentaS color
|
||||||
var MagentaS = color.New(color.FgMagenta).SprintFunc()
|
var MagentaS = color.New(color.FgMagenta).SprintFunc()
|
||||||
|
// Magenta color bold
|
||||||
var Magenta = color.New(color.FgMagenta, color.Bold).SprintFunc()
|
var Magenta = color.New(color.FgMagenta, color.Bold).SprintFunc()
|
||||||
|
|
||||||
var watcherIgnores = []string{"vendor", "bin"}
|
var watcherIgnores = []string{"vendor", "bin"}
|
||||||
|
|
Loading…
Reference in New Issue