Documentation
¶
Index ¶
- func ContainsAnyPlaceholders(s string) bool
- func ContainsLocalePlaceholder(s string) bool
- func ContainsTagPlaceholder(s string) bool
- func Resolve(s, pattern string) (map[string]string, error)
- func ResolveTranslationKeyPrefix(translationKeyPrefix optional.String, filePath string) (optional.String, error)
- func ToGlobbingPattern(s string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsAnyPlaceholders ¶
func ContainsTagPlaceholder ¶
func Resolve ¶
Resolve matches s against pattern and maps placeholders in pattern to substrings of s. Resolve handles '*' wildcards in the pattern, but will return an error if the pattern contains '**'.
func ToGlobbingPattern ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.