Documentation
¶
Overview ¶
Commands for reading and writing files.
Index ¶
- type Commands
- func (self *Commands) Close(file *os.File) error
- func (self *Commands) Create(filename string) (*os.File, error)
- func (self *Commands) Open(filename string) (*os.File, error)
- func (self *Commands) Read(source interface{}) (string, error)
- func (self *Commands) Temp(args *TempArgs) (*os.File, error)
- func (self *Commands) Write(destination interface{}, args *WriteArgs) error
- type TempArgs
- type WriteArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TempArgs ¶
type TempArgs struct { // A string to prefix temporary filenames with Prefix string `json:"prefix" default:"friendscript-"` }
Click to show internal directories.
Click to hide internal directories.