Remove redundant type declaration

This commit is contained in:
Christian Rocha 2020-04-22 14:29:30 -04:00
parent d964fbe3d7
commit 5d987f7933
No known key found for this signature in database
GPG Key ID: D6CC7A16E5878018

View File

@ -20,8 +20,8 @@ const (
var (
// Spinner frames
spinners = map[Spinner][]string{
Line: []string{"|", "/", "-", "\\"},
Dot: []string{"⣾ ", "⣽ ", "⣻ ", "⢿ ", "⡿ ", "⣟ ", "⣯ ", "⣷ "},
Line: {"|", "/", "-", "\\"},
Dot: {"⣾ ", "⣽ ", "⣻ ", "⢿ ", "⡿ ", "⣟ ", "⣯ ", "⣷ "},
}
assertionErr = errors.New("could not perform assertion on model to what the spinner expects. are you sure you passed the right value?")