1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-20 03:17:04 +00:00
Former-commit-id: 8f99121b81dc76c04d5910117885d9286873f26c
This commit is contained in:
kataras
2017-12-04 05:08:05 +02:00
parent 7043f352d9
commit a7b2a90e3b
16 changed files with 1719 additions and 0 deletions

19
mvc2/binder/binding.go Normal file
View 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
}