gitlogs

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckoutLog

type CheckoutLog struct {
	BeforeCommit string
	AfterCommit  string
}

func NewCheckoutLog

func NewCheckoutLog(message string) CheckoutLog

type Log

type Log struct {
	BeforeHash string
	AfterHash  string
	Author     string
	Email      string
	Message    interface{}
	CreatedAt  time.Time
	Command    string
}

func NewLog

func NewLog(logString string) Log

type Logs

type Logs []Log

func (Logs) Len

func (a Logs) Len() int

func (Logs) Less

func (a Logs) Less(i, j int) bool

func (Logs) Swap

func (a Logs) Swap(i, j int)

Jump to

Keyboard shortcuts

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