made db module
This commit is contained in:
parent
2dd8cc3d2b
commit
3dacf06005
12 changed files with 82 additions and 99 deletions
10
internal/database/claims.go
Normal file
10
internal/database/claims.go
Normal file
|
@ -0,0 +1,10 @@
|
|||
package database
|
||||
|
||||
import (
|
||||
"context"
|
||||
)
|
||||
|
||||
func (database *Database) FindClaimsByBarcode(system string, barcode string) {
|
||||
ctx := context.Background()
|
||||
database.db.Exec(ctx, "SELECT * FROM user_claims")
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue