UpdateField method

This commit is contained in:
Asdine El Hrychy
2016-08-31 12:06:13 +02:00
parent 4789ba6c50
commit e2d260b67d
4 changed files with 114 additions and 16 deletions

View File

@@ -45,4 +45,7 @@ var (
// ErrUnAddressable is returned when a struct or an exported field of a struct is unaddressable
ErrUnAddressable = errors.New("unaddressable value")
// ErrIncompatibleValue is returned when trying to set a value with a different type than the chosen field
ErrIncompatibleValue = errors.New("incompatible value")
)