Documentation
¶
Index ¶
Constants ¶
View Source
const ( VarDropboxPersonal = "DropboxPersonal" VarDropboxBusiness = "DropboxBusiness" VarDropboxBusinessOrPersonal = "DropboxBusinessOrPersonal" VarDropboxPersonalOrBusiness = "DropboxPersonalOrBusiness" VarHome = "Home" VarUsername = "Username" VarHostname = "Hostname" VarExecPath = "ExecPath" VarRand8 = "Rand8" VarYear = "Year" VarMonth = "Month" VarDay = "Day" VarDate = "Date" VarTime = "Time" VarDateUTC = "DateUTC" VarTimeUTC = "TimeUTC" VarRandom = "Random" )
Variables ¶
View Source
var ( PathVariables = []string{ VarDropboxPersonal, VarDropboxBusiness, VarDropboxBusinessOrPersonal, VarDropboxPersonalOrBusiness, VarHome, VarUsername, VarHostname, VarExecPath, VarRand8, VarYear, VarMonth, VarDay, VarDate, VarTime, VarDateUTC, VarTimeUTC, } )
Functions ¶
func FormatPathWithPredefinedVariables ¶
Format path if a path contains pattern like `{{.DropboxPersonal}}`.
func IsSystemFile ¶
Types ¶
type FormatError ¶
func (*FormatError) Error ¶
func (z *FormatError) Error() string
func (*FormatError) Value ¶
func (z *FormatError) Value() string
Click to show internal directories.
Click to hide internal directories.