forked from Plopix/lite
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minor splitsh#44 fix errors found by github.com/dominikh/go-tools/...…
… (jostillmanns) This PR was merged into the master branch. Discussion ---------- 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) Commits ------- 9d643aa fix errors found by github.com/dominikh/go-tools/...
- Loading branch information
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