gommit

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetVersion

func GetVersion() string

GetVersion return app version

func RunMatching

func RunMatching(query Query) (*[]CommitError, error)

RunMatching trigger regexp matching against a range message commits

Types

type CommitError

type CommitError struct {
	ID           string
	Message      string
	MessageError error
	SummaryError error
}

CommitError represents an error when something goes wrong

type Query

type Query struct {
	Path     string
	From     string
	To       string
	Matchers map[string]string
	Options  map[string]bool
}

Query to retrieves commits and do checking

Jump to

Keyboard shortcuts

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