Documentation
¶
Index ¶
- type Container
- type Variables
- func (vars *Variables) Get(key string) interface{}
- func (vars *Variables) Has(name string) bool
- func (vars *Variables) Map() map[string]interface{}
- func (vars *Variables) Merge(src Container) Container
- func (vars *Variables) Set(key string, value interface{})
- func (vars *Variables) With(key string, value interface{}) Container
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container interface { Set(string, interface{}) Get(string) interface{} Has(string) bool Map() map[string]interface{} Merge(Container) Container With(string, interface{}) Container }
Container is an interface of variables container. Is is simple key-value structure.
type Variables ¶
type Variables struct {
// contains filtered or unexported fields
}
Variables is struct containing simple key-value string values
Click to show internal directories.
Click to hide internal directories.