Versions in this module Expand all Collapse all v0 v0.1.2 Mar 7, 2020 v0.1.0 Feb 23, 2019 Changes in this version + func Append(path string, content ...interface{}) (int, error) + func Appendf(path string, format string, content ...interface{}) (int, error) + func Appendln(path string, content ...interface{}) (int, error) + func Copy(dest string, src ...string) error + func Exist(path string) bool + func Read(path string) (string, error) + func Write(path string, content ...interface{}) (int, error) + func WriteByte(path string, content []byte) (int, error) + func WriteByteTemp(pattern string, content []byte) (string, int, error) + func WriteTemp(pattern string, content ...interface{}) (string, int, error) + func Writef(path string, format string, content ...interface{}) (int, error) + func WritefTemp(pattern string, format string, content ...interface{}) (string, int, error) + func Writeln(path string, content ...interface{}) (int, error) + func WritelnTemp(pattern string, content ...interface{}) (path string, len int, err error) + type Buffer struct + func NewBuffer(path string) *Buffer + func (buffer *Buffer) Commit() (int, error) + func (buffer *Buffer) Set(content ...interface{}) (int, error) + func (buffer *Buffer) Setf(format string, content ...interface{}) (int, error) + func (buffer *Buffer) Setln(content ...interface{}) (int, error) + func (buffer *Buffer) WriteString(content ...interface{}) (int, error) + func (buffer *Buffer) WriteStringf(format string, content ...interface{}) (int, error) + func (buffer *Buffer) WriteStringln(content ...interface{}) (int, error)