version

package
v1.4.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// VERSION no need to modify
	// please use:
	// 	go build -ldflags "-X github.com/apache/servicecomb-service-center/version.VERSION=x.x.x"
	// to set these values.
	VERSION  = "0.0.1"
	BuildTag = "Not provided"
)

Functions

This section is empty.

Types

type Set

type Set struct {
	Version   string `json:"version"`
	BuildTag  string `json:"buildTag"`
	GoVersion string `json:"goVersion"`
	OS        string `json:"os"`
	Arch      string `json:"arch"`
}

func Ver

func Ver() *Set

func (*Set) LoadRuntimeInfo

func (vs *Set) LoadRuntimeInfo()

func (*Set) Log

func (vs *Set) Log()

func (*Set) Print

func (vs *Set) Print()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL