mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-24 10:07:21 +02:00
14 lines
300 B
Go
14 lines
300 B
Go
|
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
|
||
|
}
|