Archived
Run vet and lint. Make us lint clean.
This commit is contained in:
1 parent
3932884688
commit
60fcaebfdb
25 files changed
+189
-133
No files matched your search
@@ -58,7 +58,7 @@ func TestMutex(t *testing.T) {
|
||||
threshold = logThreshold
|
||||
|
||||
msgmut := sync.Mutex{}
|
||||
messages := make([]string, 0)
|
||||
var messages []string
|
||||
|
||||
l.AddHandler(logger.LevelDebug, func(_ logger.LogLevel, message string) {
|
||||
msgmut.Lock()
|
||||
@@ -91,7 +91,7 @@ func TestRWMutex(t *testing.T) {
|
||||
threshold = logThreshold
|
||||
|
||||
msgmut := sync.Mutex{}
|
||||
messages := make([]string, 0)
|
||||
var messages []string
|
||||
|
||||
l.AddHandler(logger.LevelDebug, func(_ logger.LogLevel, message string) {
|
||||
msgmut.Lock()
|
||||
@@ -149,7 +149,7 @@ func TestWaitGroup(t *testing.T) {
|
||||
threshold = logThreshold
|
||||
|
||||
msgmut := sync.Mutex{}
|
||||
messages := make([]string, 0)
|
||||
var messages []string
|
||||
|
||||
l.AddHandler(logger.LevelDebug, func(_ logger.LogLevel, message string) {
|
||||
msgmut.Lock()
|
||||
|
||||
Reference in new issue
Block a user