version

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithContext

func WithContext(ctx context.Context, version *Version) context.Context

Types

type Version

type Version struct {
	Version string
	Commit  string
	Date    string
}

func Get

func Get(ctx context.Context) *Version

func (*Version) IsEmpty

func (v *Version) IsEmpty() bool

func (*Version) Public

func (v *Version) Public() string

func (*Version) String

func (v *Version) String() string

Jump to

Keyboard shortcuts

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