| 16 | ) |
| 17 | |
| 18 | type postgresModel struct { |
| 19 | db *sql.DB |
| 20 | mu sync.RWMutex |
| 21 | schemas map[string]*model.Schema |
| 22 | types map[reflect.Type]*model.Schema |
| 23 | } |
| 24 | |
| 25 | // New creates a new Postgres model. DSN is a connection string |
| 26 | // (e.g., "postgres://user:pass@localhost/dbname?sslmode=disable"). |
nothing calls this directly
no outgoing calls
no test coverage detected