version

package
v0.0.1-alpha.1 Latest Latest
Warning

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

Go to latest
Published: May 10, 2016 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Standard

type Standard struct {
	// contains filtered or unexported fields
}

func NewStandard

func NewStandard(base string, shortCommit string, fullCommit string) *Standard

func (*Standard) Base

func (v *Standard) Base() string

func (*Standard) FullCommit

func (v *Standard) FullCommit() string

func (*Standard) Long

func (v *Standard) Long() string

func (*Standard) Short

func (v *Standard) Short() string

func (*Standard) ShortCommit

func (v *Standard) ShortCommit() string

type Version

type Version interface {
	Base() string
	ShortCommit() string
	FullCommit() string
	Short() string
	Long() string
}

func Current

func Current() Version

Jump to

Keyboard shortcuts

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