mirror of
https://github.com/kataras/iris.git
synced 2025-01-24 03:01:03 +01:00
a7b2a90e3b
Former-commit-id: 8f99121b81dc76c04d5910117885d9286873f26c
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
|
|
}
|