package envs import ( "regexp" ) // Compiled regex patterns. var ( reMaybeInt *regexp.Regexp = regexp.MustCompile(`^(?P<sign>\+|-)[0-9]+$`) reMaybeFloat *regexp.Regexp = regexp.MustCompile(`(?P<sign>\+|-)?[0-9]+\.[0-9]+$`) ) var ( StructTagInterpolate string = "envsub" )