Documentation
¶
Index ¶
- type DiffView
- func (dv *DiffView) After(path, content string) *DiffView
- func (dv *DiffView) Before(path, content string) *DiffView
- func (dv *DiffView) Split() *DiffView
- func (dv *DiffView) String() string
- func (dv *DiffView) Style(style Style) *DiffView
- func (dv *DiffView) TabWidth(tabWidth int) *DiffView
- func (dv *DiffView) Unified() *DiffView
- func (dv *DiffView) Width(width int) *DiffView
- func (dv *DiffView) XOffset(xOffset int) *DiffView
- type LineStyle
- type Style
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiffView ¶
type DiffView struct {
// contains filtered or unexported fields
}
DiffView represents a view for displaying differences between two files.
Click to show internal directories.
Click to hide internal directories.