Documentation ¶
Index ¶
- Constants
- func OpenFile(filename string) *os.File
- func WriteJSON(w io.Writer, setlog SetLog)
- type Record
- type Set
- type SetLog
- func (l *SetLog) AppendRecords(records ...Record)
- func (l SetLog) CSV(w io.Writer) error
- func (l SetLog) Check() bool
- func (l SetLog) Filter(exist func(r Record) bool) []Record
- func (l SetLog) FilterByID(id_set Set) []Record
- func (l SetLog) Keys() []string
- func (l *SetLog) Merge(log SetLog)
- func (l SetLog) Rows() [][]string
- func (l SetLog) Set(key string) Set
- func (l SetLog) TableFprintln(w io.Writer)
- func (l *SetLog) Update(update func(r Record) Record)
- type Type
Constants ¶
View Source
const DELETE string = "@delete"
View Source
const ID string = "@id"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Record ¶
func FilterByID ¶
type SetLog ¶
func (*SetLog) AppendRecords ¶
func (SetLog) FilterByID ¶
func (SetLog) TableFprintln ¶
Click to show internal directories.
Click to hide internal directories.