FavoriteStore implements a store backed by a relational database.
| 39 | |
| 40 | // FavoriteStore implements a store backed by a relational database. |
| 41 | type FavoriteStore struct { |
| 42 | db *sqlx.DB |
| 43 | } |
| 44 | |
| 45 | type favorite struct { |
| 46 | ResourceID int64 `db:"favorite_resource_id"` |
nothing calls this directly
no outgoing calls
no test coverage detected