OSDN Git Service

new repo
[bytom/vapor.git] / vendor / github.com / stretchr / testify / vendor / github.com / stretchr / objx / value.go
1 package objx
2
3 // Value provides methods for extracting interface{} data in various
4 // types.
5 type Value struct {
6         // data contains the raw data being managed by this Value
7         data interface{}
8 }
9
10 // Data returns the raw data contained by this Value
11 func (v *Value) Data() interface{} {
12         return v.data
13 }