modify

Source ยป

Modify was intended to be used with my todo program, but I never ended up using it. Appender and Editor both implement the Modifier interface. Modifier gives an easy way to write to a file from an interface{} (such as JSON). In order to read from standard input you must define Sr of type StdinReader (func() (interface{}, error)).