summaryrefslogtreecommitdiff
path: root/git.go
diff options
context:
space:
mode:
Diffstat (limited to 'git.go')
-rw-r--r--git.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/git.go b/git.go
index 383c492..b7c8b3c 100644
--- a/git.go
+++ b/git.go
@@ -14,6 +14,7 @@ import (
"unsafe"
)
+//go:generate stringer -type ErrorClass -trimprefix ErrorClass -tags static
type ErrorClass int
const (
@@ -48,6 +49,7 @@ const (
ErrorClassPatch ErrorClass = C.GIT_ERROR_PATCH
)
+//go:generate stringer -type ErrorCode -trimprefix ErrorCode -tags static
type ErrorCode int
const (