DataWriter - Structure for Data Writer
| 25 | |
| 26 | // DataWriter - Structure for Data Writer |
| 27 | type DataWriter struct { |
| 28 | database *db.Postgres |
| 29 | // options |
| 30 | txOptions pgx.TxOptions |
| 31 | } |
| 32 | |
| 33 | func NewDataWriter(database *db.Postgres) *DataWriter { |
| 34 | return &DataWriter{ |
nothing calls this directly
no outgoing calls
no test coverage detected