Update version.go #21
Annotations
10 errors and 6 warnings
Run checks:
glinkcli/glinkcli.go#L1
: # github.com/waldirborbajr/glink/glinkcli
|
Run checks:
glinkcli/glinkcli.go#L19
too many arguments in call to cmds.Version
|
Run checks:
main.go#L7
could not import github.com/waldirborbajr/glink/glinkcli (-: # github.com/waldirborbajr/glink/glinkcli
|
Run checks:
glinkcli/glinkcli.go#L19
too many arguments in call to cmds.Version
|
Run checks:
cmds/link.go#L87
Error return value of `os.Chdir` is not checked (errcheck)
|
Run checks:
cmds/link.go#L91
Error return value of `os.Chdir` is not checked (errcheck)
|
Run checks:
cmds/link.go#L189
Error return value of `file.Close` is not checked (errcheck)
|
Run checks:
cmds/link.go#L52
unnecessary leading newline (whitespace)
|
Run checks:
cmds/link.go#L100
unnecessary trailing newline (whitespace)
|
Run checks:
cmds/link.go#L74
unnecessary leading newline (whitespace)
|
Run checks:
internal/util/exitwitherror.go#L8
exported: exported function ExitWithError should have comment or be unexported (revive)
|
Run checks:
cmds/version.go#L9
exported: exported function Version should have comment or be unexported (revive)
|
Run checks:
cmds/list.go#L7
exported: exported function List should have comment or be unexported (revive)
|
Run checks:
cmds/link.go#L101
superfluous-else: if block ends with a continue statement, so drop this else and outdent its block (revive)
|
Run checks:
cmds/link.go#L16
exported: exported function Link should have comment or be unexported (revive)
|
Set up Go 1.21
Restore cache failed: Dependencies file is not found in /home/runner/work/glink/glink. Supported file pattern: go.sum
|
The logs for this run have expired and are no longer available.
Loading