Run gofmt
This commit is contained in:
@ -179,12 +179,14 @@ var colorNames = []string{
|
||||
// names specified in tcell.ColorNames.
|
||||
//
|
||||
// The algorithm to get the color is as follows:
|
||||
// colorNames[ FNV1(string) % len(colorNames) ]
|
||||
//
|
||||
// colorNames[ FNV1(string) % len(colorNames) ]
|
||||
//
|
||||
// With the exception of the three special cases:
|
||||
// --> = green
|
||||
// <-- = red
|
||||
// --- = yellow
|
||||
//
|
||||
// --> = green
|
||||
// <-- = red
|
||||
// --- = yellow
|
||||
func GetHashColorName(s string) string {
|
||||
switch s {
|
||||
case "-->":
|
||||
|
Reference in New Issue
Block a user