Documentation ¶ Index ¶ type Config type Git func Open(path string, cfg Config) (*Git, error) func (g *Git) Highest() semver.Version func (g *Git) History(prefix string) (string, error) func (g *Git) Increment(major, minor, patch, dev bool, rc bool) (semver.Version, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Config ¶ added in v0.0.2 type Config struct { // Prefix to add to version strings Prefix string // Only look at tags below version Below *semver.Version // Include ReleaseCandidate Version IncludeRC bool } type Git ¶ type Git struct { // contains filtered or unexported fields } func Open ¶ func Open(path string, cfg Config) (*Git, error) func (*Git) Highest ¶ added in v0.0.9 func (g *Git) Highest() semver.Version func (*Git) History ¶ added in v0.0.4 func (g *Git) History(prefix string) (string, error) func (*Git) Increment ¶ func (g *Git) Increment(major, minor, patch, dev bool, rc bool) (semver.Version, error) Source Files ¶ View all Source files git.go Click to show internal directories. Click to hide internal directories.