Chore: make linter happy

This commit is contained in:
Dreamacro
2022-05-17 19:58:33 +08:00
parent b384449717
commit 8603ac40a1
2 changed files with 1 additions and 2 deletions

View File

@ -25,7 +25,6 @@ type Result struct {
}
// Do single.Do likes sync.singleFlight
//lint:ignore ST1008 it likes sync.singleFlight
func (s *Single) Do(fn func() (any, error)) (v any, err error, shared bool) {
s.mux.Lock()
now := time.Now()