Documentation ¶
Index ¶
- func LineIsEndOfData(line []byte) bool
- func ValuesEqual(a *toolkit.RawValue, b *toolkit.RawValue) bool
- type Documenter
- type JsonDocument
- func (jc *JsonDocument) Append(original, transformed *pgcopy.Row) error
- func (jc *JsonDocument) Get() *JsonDocumentResult
- func (jc *JsonDocument) GetAffectedColumns() map[string]struct{}
- func (jc *JsonDocument) GetColumnsToPrint() map[string]struct{}
- func (jc *JsonDocument) GetUnexpectedlyChangedColumns() map[string]struct{}
- func (jc *JsonDocument) Print(w io.Writer) error
- type JsonDocumentResult
- type TextDocument
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LineIsEndOfData ¶
Types ¶
type Documenter ¶
type JsonDocument ¶
type JsonDocument struct {
// contains filtered or unexported fields
}
func NewJsonDocument ¶
func NewJsonDocument(table *entries.Table, withDiff bool, onlyTransformed bool) *JsonDocument
func (*JsonDocument) Append ¶
func (jc *JsonDocument) Append(original, transformed *pgcopy.Row) error
func (*JsonDocument) Get ¶
func (jc *JsonDocument) Get() *JsonDocumentResult
func (*JsonDocument) GetAffectedColumns ¶
func (jc *JsonDocument) GetAffectedColumns() map[string]struct{}
func (*JsonDocument) GetColumnsToPrint ¶
func (jc *JsonDocument) GetColumnsToPrint() map[string]struct{}
func (*JsonDocument) GetUnexpectedlyChangedColumns ¶
func (jc *JsonDocument) GetUnexpectedlyChangedColumns() map[string]struct{}
type JsonDocumentResult ¶
type TextDocument ¶
type TextDocument struct { *JsonDocument // contains filtered or unexported fields }
func NewTextDocument ¶
Click to show internal directories.
Click to hide internal directories.