Versions in this module Expand all Collapse all v0 v0.2.0 Jun 21, 2017 v0.1.0 Apr 13, 2017 Changes in this version + func Diff(changes KVChanges, pretty bool) string + type Add struct + func NewAdd(key, val string) *Add + func (c Add) Pretty() string + func (c Add) String() string + type KVChange interface + Key func() string + Pretty func() string + String func() string + Val func() string + type KVChanges []KVChange + func (c KVChanges) Len() int + func (c KVChanges) Less(i, j int) bool + func (c KVChanges) Swap(i, j int) + type Pair struct + func (p Pair) Key() string + func (p Pair) Val() string + type Remove struct + func NewRemove(key, val string) *Remove + func (c Remove) Pretty() string + func (c Remove) String() string + type Update struct + func NewUpdate(key, val, newVal string) *Update + func (c Update) NewVal() string + func (c Update) Pretty() string + func (c Update) String() string