woodpecker/vendor/github.com/stretchr/objx/value.go

14 lines
300 B
Go
Raw Normal View History

2015-09-30 21:00:48 +00:00
package objx
// Value provides methods for extracting interface{} data in various
// types.
type Value struct {
// data contains the raw data being managed by this Value
data interface{}
}
// Data returns the raw data contained by this Value
func (v *Value) Data() interface{} {
return v.data
}