Merge pull request #50 from kamronbatman/patch-1
[Typo] Fixes a typo in field.go
This commit is contained in:
commit
e5ca5fe90d
2
field.go
2
field.go
@ -25,7 +25,7 @@ func (f *Field) Tag(key string) string {
|
|||||||
return f.field.Tag.Get(key)
|
return f.field.Tag.Get(key)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Value returns the underlying value of of the field. It panics if the field
|
// Value returns the underlying value of the field. It panics if the field
|
||||||
// is not exported.
|
// is not exported.
|
||||||
func (f *Field) Value() interface{} {
|
func (f *Field) Value() interface{} {
|
||||||
return f.value.Interface()
|
return f.value.Interface()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user