Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix errors found by github.com/dominikh/go-tools/...
lite/splitter/result.go:76:15: should use time.Since instead of time.Now().Sub (S1012) lite/splitter/state.go:433:25: should omit comparison to bool constant, can be simplified to !copyCommit (S1002) lite/splitter/utils.go:13:25: should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice (S1007) lite/splitter/cache.go:90:17: func (*cache).reverse is unused (U1000)
- Loading branch information
1 parent
cb9c28b
commit 9d643aa
Showing
4 changed files
with
3 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters