Closed karmek-k closed 2 years ago
We need to create "model" structs with column names in db tags.
If you want to start on that, you can assign yourself to this issue: #15 (promoted you to Triage for this repository so that it's easier for you to work on issues & PRs).
Otherwise LGTM.
Fixes #14
As said in the beginning of
library.go
:We need to create "model" structs with column names in
db
tags.And also for now,
newLibrary
doesn't handle the case when an ID exists. I haven't tested the code because we don't have those annotated model structs, as said earlier.