-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c17bb95
commit 473a9be
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package resolver | ||
|
||
import ( | ||
"github.com/RangelReale/instruct/resolver" | ||
) | ||
|
||
// Resolver is the default Resolver. | ||
type Resolver = resolver.Resolver |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package resolver | ||
|
||
import ( | ||
"github.com/RangelReale/instruct/resolver" | ||
) | ||
|
||
// ValueResolver resolves simple types for a Resolver. | ||
// It should NOT handle slices, pointers, or maps. | ||
type ValueResolver resolver.ValueResolver | ||
|
||
// TypeValueResolver is a custom type handler for a ValueResolver. | ||
// It should NOT process value using reflection (for performance reasons). | ||
type TypeValueResolver = resolver.TypeValueResolver | ||
|
||
// TypeValueResolverReflect is a custom type handler for a ValueResolver. | ||
// It SHOULD process value using reflection. | ||
type TypeValueResolverReflect = resolver.TypeValueResolverReflect |