Documentation
¶
Overview ¶
Package kvview gives templates the key-value store of a mock server, as text.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type View ¶
type View struct {
// contains filtered or unexported fields
}
View gives templates the values of a key-value store as text: {{ .KV.Get "key" }}. A key that may be missing reads with Has first: {{ if .KV.Has "key" }}.
Click to show internal directories.
Click to hide internal directories.