1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-08 20:41:57 +00:00

add example for #1601

This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-08-22 03:21:44 +03:00
parent e41e861c4c
commit a018ba9b0a
12 changed files with 247 additions and 4 deletions

View File

@@ -26,6 +26,13 @@ type (
immutable bool // if true then it can't change by its caller.
}
// StringEntry is just a key-value wrapped by a struct.
// See Context.URLParamsSorted method.
StringEntry struct {
Key string `json:"key" msgpack:"key" yaml:"Key" toml:"Value"`
Value string `json:"value" msgpack:"value" yaml:"Value" toml:"Value"`
}
// Store is a collection of key-value entries with immutability capabilities.
Store []Entry
)