()
| 48 | } |
| 49 | |
| 50 | func (r Attribute) ToAttribute() *base.Attribute { |
| 51 | return &base.Attribute{ |
| 52 | Entity: &base.Entity{ |
| 53 | Type: r.EntityType, |
| 54 | Id: r.EntityID, |
| 55 | }, |
| 56 | Attribute: r.Attribute, |
| 57 | Value: r.Value, |
| 58 | } |
| 59 | } |
| 60 | |
| 61 | // SchemaDefinition - Structure for Schema Definition |
| 62 | type SchemaDefinition struct { |
no outgoing calls
no test coverage detected