ID gets id from resource
()
| 36 | |
| 37 | //ID gets id from resource |
| 38 | func (resource *Resource) ID() string { |
| 39 | id, _ := resource.properties["id"] |
| 40 | idString := fmt.Sprint(id) |
| 41 | return idString |
| 42 | } |
| 43 | |
| 44 | //Get gets property from resource |
| 45 | func (resource *Resource) Get(key string) interface{} { |