Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CurrentPackage ¶
func CurrentPackage() string
CurrentPackage returns the go package of the current directory, or "" if it cannot be derived from the GOPATH.
func PluralExceptionListToMapOrDie ¶ added in v0.18.0
PluralExceptionListToMapOrDie converts the list in "Type:PluralType" to map[string]string. This is used for pluralizer. If the format is wrong, this function will panic.
func Vendorless ¶ added in v0.20.0
Vendorless trims vendor prefix from a package path to make it canonical
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.