mirror of
https://github.com/kataras/iris.git
synced 2025-01-24 11:11:03 +01:00
20 lines
301 B
Go
20 lines
301 B
Go
|
package binder
|
||
|
|
||
|
import (
|
||
|
"reflect"
|
||
|
)
|
||
|
|
||
|
type Binding interface {
|
||
|
AddSource(v reflect.Value, source ...reflect.Value)
|
||
|
}
|
||
|
|
||
|
type StructValue struct {
|
||
|
Type reflect.Type
|
||
|
Value reflect.Value
|
||
|
}
|
||
|
|
||
|
type FuncResultValue struct {
|
||
|
Type reflect.Type
|
||
|
ReturnValue func(ctx []reflect.Value) reflect.Value
|
||
|
}
|