Go/Naming Conventions
From charlesreid1
Go Naming Conventions: smartystreets.com/blog/2018/10/go-naming-tutorial
Use single-character receiver names:
package main
import "fmt"
func main() {
new(Printer).Print(
"Use only the first letter of a type as the receiver for its methods (oh, wait...), " +
"and (per tip #5) make sure the receiver is exported")
}
type Printer struct{}
func (P *Printer) Print(Message string) (N int, Err error) {
return fmt.Println(Message)
}