Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Opt ¶
type Opt func(s *pvdr)
func WithKeyCB ¶
WithKeyCB gives a callback functor to transform an envvar key name.
This action happens at preparing time.
func WithLowerCase ¶
func WithPrefix ¶
WithPrefix gives a filter prefix for env var name.
Only names which have given prefix are available. Such as app.Name()+"_".
The filtered names will be stripped.
func WithStorePrefix ¶
WithStorePrefix gives a dotted key prefix for store.Store.
Such as: "app.cmd", ..
func WithUnderlineToDot ¶
Click to show internal directories.
Click to hide internal directories.