Documentation
¶
Overview ¶
Package pkg provides information about the current package
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Information ¶ added in v0.1.0
Information holds information about the current package
func Info ¶
func Info() (*Information, error)
Info returns Information about the current package. The current package is determined by searching the current path towards root until it finds the first go.mod file. It then uses the path and content of go.mod to populate Information
Click to show internal directories.
Click to hide internal directories.