Documentation
¶
Index ¶
- Variables
- func CopyFileFromExisting(id, folder string, fileName string) error
- func CreateFile(folder string, fileName string) (*os.File, error)
- func CreateFileFromTemplateWithData(id, folder string, fileName string, data interface{}) error
- func CreateFileFromTemplateWithDataAndTarget(id, folder string, sourceFileName string, targetFileName string, ...) error
- func CreateFileWithId(id string, folder string, fileName string) (*os.File, error)
- func CreateFolder(id, folder string) error
- func CreateFolderToKeep(id string, folder string) (*os.File, error)
- func CreateFolderWithFile(id string, folder, fileName string) (*os.File, error)
- func GenerateId() (string, error)
- func Join(names ...string) string
- func Zip(source string, w io.Writer) error
Constants ¶
This section is empty.
Variables ¶
View Source
var TemplatesFolder = Join("assets", "templates")
Functions ¶
func CopyFileFromExisting ¶
func CreateFileWithId ¶
func CreateFolder ¶
func CreateFolderWithFile ¶
func GenerateId ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.