Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
GetSetter
}
Controller is a struct demonstrating one way to initialize interfaces
func (*Controller) GetThenSet ¶
func (c *Controller) GetThenSet(key, value string) error
GetThenSet checks if a value is set. If not it sets it.
Click to show internal directories.
Click to hide internal directories.