Documentation
¶
Index ¶
- type File
- func (f *File) Append(b []byte) error
- func (f *File) AppendString(s string) error
- func (f *File) Read() ([]byte, error)
- func (f *File) ReadJSON(v interface{}) error
- func (f *File) ReadString() (string, error)
- func (f *File) ReadXML(v interface{}) error
- func (f *File) ReadYAML(v interface{}) error
- func (f *File) Rename(newName string) error
- func (f *File) Write(b []byte) error
- func (f *File) WriteJSON(v interface{}) error
- func (f *File) WriteString(s string) error
- func (f *File) WriteXML(v interface{}) error
- func (f *File) WriteYAML(v interface{}) error
- func (f *File) Writer() (io.WriteCloser, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct {
// contains filtered or unexported fields
}
func (*File) AppendString ¶ added in v1.1.0
func (*File) ReadString ¶
func (*File) WriteString ¶
Click to show internal directories.
Click to hide internal directories.