Chakib Ben Ziane
03d30e6704
- inspired from golang database package and caddyserver modules - Migrating from class style to interfaces - FIX: browser provisioning is broken, config is not ready when the browser module is registered.
21 lines
474 B
Go
21 lines
474 B
Go
// TODO: get runtime build/git info see:
|
|
// https://github.com/lightningnetwork/lnd/blob/master/build/version.go#L66
|
|
package main
|
|
|
|
import "fmt"
|
|
|
|
const (
|
|
// AppMajor defines the major version of this binary.
|
|
AppMajor uint = 0
|
|
|
|
// AppMinor defines the minor version of this binary.
|
|
AppMinor uint = 1
|
|
|
|
// AppPatch defines the application patch for this binary.
|
|
AppPatch uint = 0
|
|
)
|
|
|
|
func version() string {
|
|
return fmt.Sprintf("%d.%d.%d", AppMajor, AppMinor, AppPatch)
|
|
}
|