boskos/common/common.go
func (ud *UserData) Extract(id string, out interface{}) error {
	content, ok := ud.Load(id)
	if !ok {
		return &UserDataNotFound{id}
	}
	return yaml.Unmarshal([]byte(content.(string)), out)
}
func (ud *UserData) Extract(id string, out interface{}) error {
	content, ok := ud.Load(id)
	if !ok {
		return &UserDataNotFound{id}
	}
	return yaml.Unmarshal([]byte(content.(string)), out)
}
func ( ud * UserData ) Extract ( id string , out interface { } ) error { content , ok := ud . Load ( id ) if ! ok { return & UserDataNotFound { id } } return yaml . Unmarshal ( [ ] byte ( content . ( string ) ) , out ) }
// Extract unmarshalls a string a given struct if it exists
Extract unmarshalls a string a given struct if it exists