()
| 36 | } |
| 37 | |
| 38 | func (m *Memory) AttributeID() (id uint64) { |
| 39 | m.Lock() |
| 40 | defer m.Unlock() |
| 41 | if m.aid == 0 { |
| 42 | m.aid++ |
| 43 | } |
| 44 | id = m.aid |
| 45 | m.aid++ |
| 46 | return id |
| 47 | } |
| 48 | |
| 49 | // GetEngineType - Gets engine type, returns as string |
| 50 | func (m *Memory) GetEngineType() string { |
no outgoing calls
no test coverage detected