mirror of
https://github.com/kataras/iris.git
synced 2025-03-14 18:26:26 +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
|
|
}
|