- go test -bench=.
go test -cover
go test ./... -cover
- In Go if a symbol (variables, types, functions et al) starts with a lowercase symbol then it is private outside the package it's defined in.
- go install github.com/kisielk/errcheck@latest
- package to help identify errors that have not been checked
errcheck .
- In Go interface resolution is implicit. If the type you pass in matches what the interface is asking for, it will compile. (structsmethodsinterfaces.go)
-
Notifications
You must be signed in to change notification settings - Fork 0
tw-eugeneoei/go
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published