mirror of
https://github.com/kataras/iris.git
synced 2025-12-20 03:17:04 +00:00
cm
Former-commit-id: 8f99121b81dc76c04d5910117885d9286873f26c
This commit is contained in:
19
mvc2/binder/binding.go
Normal file
19
mvc2/binder/binding.go
Normal file
@@ -0,0 +1,19 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user