pkg

package
v2.0.7+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package pkg deals with versioning for goa.

Index

Constants

View Source
const (
	// Major version number
	Major = 2
	// Minor version number
	Minor = 0
	// Build number
	Build = 7
	// Suffix - set to empty string in release tag commits.
	Suffix = ""
)

Variables

This section is empty.

Functions

func Compatible

func Compatible(v string) (bool, error)

Compatible returns true if Major matches the major version of the given version string. It returns an error if the given string is not a valid version string.

func Version

func Version() string

Version returns the complete version number.

Types

This section is empty.

Jump to

Keyboard shortcuts

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