Documentation
¶
Index ¶
- func ExtencionFile(filename string) string
- func MakeFile(folder, name, model string, args ...any) (string, error)
- func MakeFolder(names ...string) (string, error)
- func ReadFile(path string) (string, error)
- func RemoveFile(path string) (bool, error)
- func WatcherPath(path string)
- type FileInfo
- type SyncFile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtencionFile ¶
* * ExtencionFile * @param filename string * @return string *
func MakeFile ¶
* * MakeFile * @param folder, name, model string, args ...any * @return string, error *
func MakeFolder ¶
* * MakeFolder * @param names ...string * @return string, error *
func RemoveFile ¶
* * RemoveFile * @param path string * @return bool, error *
func WatcherPath ¶
func WatcherPath(path string)
Types ¶
type FileInfo ¶ added in v0.1.4
type SyncFile ¶
type SyncFile struct {
CreatedAt time.Time
UpdatedAt time.Time
Id string
Name string
Dir string
Path string
Data []byte
// contains filtered or unexported fields
}
func NewSyncFile ¶
* * NewSyncFile * @param dataDirectory, name string, initialData any * @return *SyncFile, error *
Click to show internal directories.
Click to hide internal directories.