mirror of
https://github.com/kataras/iris.git
synced 2026-01-09 13:05:56 +00:00
add examples for read using custom decoder per type, read using custom decoder via iris#UnmarshalerFunc and to complete it add an example for the context#ReadXML.
Former-commit-id: 536b1780f12d0b9d9ce9aa976a0f95f18634ec2d
This commit is contained in:
@@ -180,7 +180,7 @@ func (e Entry) BoolDefault(def bool) (bool, error) {
|
||||
// respects the immutable.
|
||||
func (e Entry) Value() interface{} {
|
||||
if e.immutable {
|
||||
// take its value, no pointer even if setted with a rreference.
|
||||
// take its value, no pointer even if setted with a reference.
|
||||
vv := reflect.Indirect(reflect.ValueOf(e.ValueRaw))
|
||||
|
||||
// return copy of that slice
|
||||
|
||||
Reference in New Issue
Block a user