Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseUUID ¶
ParseUUID converts the supplied string into a UUID, returning uuid.Nil when the input is empty.
func ParseUUIDPointer ¶
ParseUUIDPointer returns a pointer to the parsed UUID, or nil when the value is empty.
func SplitLocales ¶
SplitLocales parses a comma separated locale list into a trimmed slice.
Types ¶
type Module ¶
type Module struct {
Module *cms.Module
Service interfaces.MarkdownService
Logger interfaces.Logger
}
Module wraps the cms module and the configured markdown service/logger.
func BuildModule ¶
BuildModule constructs a CMS module configured for markdown operations.
type Options ¶
type Options struct {
ContentDir string
Pattern string
Recursive bool
LocalePatterns map[string]string
DefaultLocale string
Locales []string
TranslationsEnabled *bool
RequireTranslations *bool
LoggerProvider interfaces.LoggerProvider
}
Options captures configuration for markdown CLI bootstraps.
Click to show internal directories.
Click to hide internal directories.