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

package pkg

import "goa.design/goa/pkg"

Package pkg deals with versioning for goa.


Package Files



const (
    // Major version number
    Major = 2
    // Minor version number
    Minor = 2
    // 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 2021-01-21. Refresh now. Tools for package owners.