Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Commit = func() string { if info, ok := debug.ReadBuildInfo(); ok { for _, setting := range info.Settings { if setting.Key == "vcs.revision" { return setting.Value } } } return "" }()
Requires Go 1.18+
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.