//
pkg.gl
Category
github.com/burakkarasel/SMS-task
internal
db
database
package
0.0.0-20230317091409-0327eda86946
Repository:
https://github.com/burakkarasel/sms-task.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
2
Files
461 SLOC
#
Functions
New
New Creates a new instance of Queries.
NewStore
NewStore creates a new SQLStore instance for the project.
#
Structs
Queries
Queries holds the DBTX interface in it, which consist of the database/sql functions we need.
SQLStore
SQLStore provides all DB functions by implementing the Queries struct in it.
#
Interfaces
DBTX
DBTX implements the database/sql functions we need.
Querier
Querier implements the DB function we wrote for the project.
Store
Store provides all DB functions we created, this interface also lets us create a mock store.