Some parts of the code use 'error' instead of 'err' #745

Closed
opened 2021-02-15 07:56:12 -06:00 by mbfr · 2 comments
mbfr commented 2021-02-15 07:56:12 -06:00 (Migrated from github.com)

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

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
mbfr commented 2021-02-15 07:56:45 -06:00 (Migrated from github.com)
eg https://github.com/libgit2/git2go/blob/2fd0495c43c4a54a02e2bbfca886687621f83f9f/git.go#L203
suhaibmujahid commented 2021-02-15 09:11:30 -06:00 (Migrated from github.com)

Thank you @mbfr for reporting this. I will open a PR to fix the variable names.

Thank you @mbfr for reporting this. I will open a PR to fix the variable names.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: jcarr/git2go#745
No description provided.