mirror of
https://github.com/simon987/task_tracker.git
synced 2025-12-14 15:29:02 +00:00
some work on sessions
This commit is contained in:
@@ -132,7 +132,7 @@ func (database *Database) UpdateProject(project *Project) error {
|
||||
}
|
||||
|
||||
func (database Database) GetAllProjects() *[]Project {
|
||||
var projects []Project
|
||||
projects := make([]Project, 0)
|
||||
|
||||
db := database.getDB()
|
||||
rows, err := db.Query(`SELECT
|
||||
|
||||
Reference in New Issue
Block a user