Documentation ¶
Index ¶
- func ConvertToSeconds(s string) (seconds float64, err error)
- func CopyFile(src, dst string) (int64, error)
- func GetStringInBetween(str string, start string, end string) (result string)
- func RandStringBytesMaskImpr(n int) string
- func SecondsToString(seconds float64) string
- func TempFileName(prefix, suffix string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertToSeconds ¶
ConvertToSeconds converts a string lik 00:00:11.35 into seconds (11.35)
func GetStringInBetween ¶
GetStringInBetween returns empty string if no start or end string found
func RandStringBytesMaskImpr ¶ added in v1.0.1
func SecondsToString ¶
SecondsToString seconds like 80 to a string like 00:01:20.00
func TempFileName ¶
TempFileName generates a temporary filename for use in testing or whatever
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.