Documentation
¶
Index ¶
- func ByteStreamFileUpload(remoteURL, remoteFolder, filepath string) (string, error)
- func DoesPathExists(path string) bool
- func FormDataFileUpload(remoteURL string, filepath string) error
- func MustOpen(f string) (*os.File, error)
- func ReadFileToBytes(path string) ([]byte, error)
- func RenderTemplate(tpl string, data interface{}) (string, error)
- func WriteBytesToFile(bytes []byte, path string) error
- func WriteStringTofile(s string, path string) error
- func WriteTemplate(tpl string, data interface{}, path string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ByteStreamFileUpload ¶ added in v0.2.7
CREDIT: https://gist.github.com/ebraminio/576fdfdff425bf3335b51a191a65dbdb
func DoesPathExists ¶
func FormDataFileUpload ¶ added in v0.2.7
func ReadFileToBytes ¶ added in v0.1.15
func RenderTemplate ¶
func WriteBytesToFile ¶
func WriteStringTofile ¶
func WriteTemplate ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.