Discover Packages
github.com/WT-In/dbn-go
internal
version
package
Version:
v0.9.0
Opens a new window with list of versions in this module.
Published: Apr 10, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Version is the current version of the application.
This can be set at build time using ldflags:
-ldflags="-X github.com/WT-In/dbn-go/internal/version.Version=v1.0.0"
Get returns the version string, including build info if available.
String returns a fully formatted version and build summary.
type Info struct {
Name string `json:"name"`
Version string `json:"version"`
Revision string `json:"revision,omitempty"`
}
Info holds all version-related metadata.
GetInfo returns a structured Info object.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.