Documentation
¶
Overview ¶
Package buildinfo reports the CLI/framework version and inspects a consuming repo's go.mod for the wowapi requirement (version-mismatch warning, D-0008). Private: not a consumer-facing contract.
Index ¶
Constants ¶
View Source
const ModulePath = "github.com/qatoolist/wowapi"
ModulePath is wowapi's canonical module path.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GoMod ¶
type GoMod struct {
Dir string // directory containing go.mod
ModulePath string // the module line
WowapiVersion string // required wowapi version; "" if not required
}
GoMod describes the nearest enclosing go.mod, if any.
func FindGoMod ¶
FindGoMod walks upward from dir looking for a go.mod and parses the module path plus any wowapi requirement. Returns ok=false when none is found.
func (GoMod) IsFramework ¶
IsFramework reports whether the go.mod belongs to wowapi itself.
Click to show internal directories.
Click to hide internal directories.