Closed mbfr closed 3 years ago
This is a minor issue, but some of the code uses error instead of err which conflicts with the builtin error interface type, as well as not being in line with the Go style
error
err
eg https://github.com/libgit2/git2go/blob/2fd0495c43c4a54a02e2bbfca886687621f83f9f/git.go#L203
Thank you @mbfr for reporting this. I will open a PR to fix the variable names.
This is a minor issue, but some of the code uses
error
instead oferr
which conflicts with the builtinerror
interface type, as well as not being in line with the Go style