Documentation ¶ Overview ¶ simplifies file access and adds a simple caching method Index ¶ func Clean(filename string) error func Init(expirationTime, cleanupInterval time.Duration) func Read(filename string) (string, error) func Reset() func Size(filename string) (int64, error) func Stop() func Write(filename, str string, append bool) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Clean ¶ func Clean(filename string) error func Init ¶ func Init(expirationTime, cleanupInterval time.Duration) func Read ¶ func Read(filename string) (string, error) func Reset ¶ func Reset() func Size ¶ func Size(filename string) (int64, error) func Stop ¶ func Stop() func Write ¶ func Write(filename, str string, append bool) error Types ¶ This section is empty. Source Files ¶ View all Source files cfile.go Click to show internal directories. Click to hide internal directories.