goa: goa.design/goa/pkg Index | Files

package pkg

import "goa.design/goa/pkg"

Package pkg deals with versioning for goa.

Index

Package Files

version.go

Constants

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

func Compatible Uses

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 Uses

func Version() string

Version returns the complete version number.

Package pkg imports 3 packages (graph) and is imported by 6 packages. Updated 2019-09-12. Refresh now. Tools for package owners.