github.com/goadesign/goa/pkg


pkg

import "github.com/goadesign/goa/pkg"

Overview

Index

Package files

version.go

Constants

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

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.


Generated by godoc2md