Documentation ¶ Index ¶ func Am(repo string, patch string, dir string) error func Clone(base string, repo string, dir string) error func FormatPatch(repo string, output string) error func Init(base string) error type Patch func ParsePatch(p string) (Patch, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Am ¶ func Am(repo string, patch string, dir string) error func Clone ¶ func Clone(base string, repo string, dir string) error func FormatPatch ¶ func FormatPatch(repo string, output string) error func Init ¶ func Init(base string) error Types ¶ type Patch ¶ type Patch struct { From string Date time.Time Subject string } func ParsePatch ¶ func ParsePatch(p string) (Patch, error) Source Files ¶ View all Source files git.go Click to show internal directories. Click to hide internal directories.