Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Factory ¶
type Factory func(options interface {
repository.ConfigReader
}) (Contrib, error)
Factory factory function to new contrib instance
type PrefixConfig ¶
type PrefixConfig string
PrefixConfig config prefix
func (PrefixConfig) MayConfig ¶
func (p PrefixConfig) MayConfig(r repository.ConfigReader, key string) string
MayConfig get config with prefix, if error occur, return ""
func (PrefixConfig) MustConfig ¶
func (p PrefixConfig) MustConfig(r repository.ConfigReader, key string) (string, error)
MustConfig get config with prefix
Click to show internal directories.
Click to hide internal directories.