mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2026-10-07 11:57:30 +00:00
1 parent
64c208bfbc
commit
10cbc929b3
9 files changed
+62797
-8056
No files matched your search
@@ -10,6 +10,7 @@ import (
|
||||
// Hash~
|
||||
func Hash(data string) string {
|
||||
retError()
|
||||
retError2()
|
||||
|
||||
h := md5.New()
|
||||
h.Write([]byte(data))
|
||||
@@ -19,3 +20,7 @@ func Hash(data string) string {
|
||||
func retError() error {
|
||||
return errors.New("err")
|
||||
}
|
||||
|
||||
func retError2() error {
|
||||
return errors.New("err2")
|
||||
}
|
||||
Reference in new issue
Block a user