13 lines
450 B
Go
13 lines
450 B
Go
// Package buildinfo provides runtime version information for applications
|
|
// built with ReleaseKit.
|
|
package buildinfo
|
|
|
|
import "go.maximumdirect.net/releasekit/internal/runtimeinfo"
|
|
|
|
// Version returns the injected release identifier when available. Otherwise,
|
|
// it returns the executable's main module version, or "dev" when that metadata
|
|
// is unavailable or identifies a development build.
|
|
func Version() string {
|
|
return runtimeinfo.Version()
|
|
}
|