Closed ivysochyn closed 1 year ago
As the project grows more functions are added to the database subpackage.
database
The task is to refactor the database/database.go into three separate files:
database/database.go
database.go
offers.go
searches.go
All the functions should be documented so it's easy to navigate through the package in the documentation.
Merged in #23 .
As the project grows more functions are added to the
database
subpackage.The task is to refactor the
database/database.go
into three separate files:database.go
- the main file with functions to initialize/start the database.offers.go
- file with functions to manipulate offers in the database,searches.go
- file with functions to manipulate searches in the database.All the functions should be documented so it's easy to navigate through the package in the documentation.