Versions in this module Expand all Collapse all v0 v0.1.0 Dec 30, 2019 Changes in this version + type Diff struct + Files []*DiffFile + PullID uint + Raw string + func Parse(diffString string) (*Diff, error) + func (d *Diff) Changed() map[string][]int + type DiffFile struct + Hunks []*diffHunk + Mode FileMode + NewName string + OrigName string + type DiffLine struct + Content string + Mode DiffLineMode + Number int + Position int + type DiffLineMode int + const ADDED + const REMOVED + const UNCHANGED + type FileMode int + const DELETED + const MODIFIED + const NEW