all: Fix comments for exported functions and packages

This commit is contained in:
Oleksandr Redko
2023-05-18 12:05:56 +03:00
committed by Bjørn Erik Pedersen
parent 24e7d0c174
commit 610cedaa61
24 changed files with 30 additions and 30 deletions

View File

@@ -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)]

View File

@@ -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