18 lines
232 B
Go
18 lines
232 B
Go
package internal
|
|
|
|
type Internals struct {
|
|
Version string `json:"version"`
|
|
}
|
|
|
|
var (
|
|
_internals Internals
|
|
)
|
|
|
|
func SetVersion(version string) {
|
|
_internals.Version = version
|
|
}
|
|
|
|
func GetVersion() string {
|
|
return _internals.Version
|
|
}
|