summaryrefslogtreecommitdiffstats
path: root/common/herrors
diff options
context:
space:
mode:
Diffstat (limited to 'common/herrors')
-rw-r--r--common/herrors/errors.go2
-rw-r--r--common/herrors/file_error.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/common/herrors/errors.go b/common/herrors/errors.go
index 822271ef2..4d8642362 100644
--- a/common/herrors/errors.go
+++ b/common/herrors/errors.go
@@ -49,7 +49,7 @@ func Recover(args ...any) {
}
}
-// Get the current goroutine id. Used only for debugging.
+// GetGID the current goroutine id. Used only for debugging.
func GetGID() uint64 {
b := make([]byte, 64)
b = b[:runtime.Stack(b, false)]
diff --git a/common/herrors/file_error.go b/common/herrors/file_error.go
index 9273b2a80..30417897f 100644
--- a/common/herrors/file_error.go
+++ b/common/herrors/file_error.go
@@ -35,7 +35,7 @@ import (
type FileError interface {
error
- // ErroContext holds some context information about the error.
+ // ErrorContext holds some context information about the error.
ErrorContext() *ErrorContext
text.Positioner