NewSchemaWriter creates a new SchemaWriter
(database *db.Memory)
| 27 | |
| 28 | // NewSchemaWriter creates a new SchemaWriter |
| 29 | func NewSchemaWriter(database *db.Memory) *SchemaWriter { |
| 30 | return &SchemaWriter{ |
| 31 | database: database, |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | // WriteSchema - Write Schema to repository |
| 36 | func (w *SchemaWriter) WriteSchema(_ context.Context, definitions []storage.SchemaDefinition) error { |
no outgoing calls
no test coverage detected