mirror of
https://github.com/aykhans/slash-e.git
synced 2025-06-14 20:07:50 +00:00
refactor: add api v1 package
This commit is contained in:
@ -24,3 +24,8 @@ func New(db *sql.DB, profile *profile.Profile) *Store {
|
||||
profile: profile,
|
||||
}
|
||||
}
|
||||
|
||||
// Close closes the database connection.
|
||||
func (s *Store) Close() error {
|
||||
return s.db.Close()
|
||||
}
|
||||
|
Reference in New Issue
Block a user