added routes package and serve in server package
Build and Test / build-and-test-backend (push) Successful in 27s
Build and Test / build-and-test-frontend (push) Successful in 32s

This commit is contained in:
wt committed 2025-08-10 15:09:09 +07:00
1 parent 303b9344f8
commit 547949795f
8 files changed
+74 -77

No files matched your search

@@ -1,41 +0,0 @@
package category
import "backend/model"
func GetAllCategories() ([]model.Category, error) {
return []model.Category{
{
Title: "Electronics",
Icon: "😀",
Type: "expense",
},
{
Title: "Clothing",
Icon: "😁",
Type: "expense",
},
{
Title: "Books",
Icon: "😂",
Subcategories: []model.Subcategory{
{
Title: "Fiction",
},
{
Title: "Non-Fiction",
},
},
Type: "expense",
},
{
Title: "Salary",
Icon: "😀",
Type: "income",
},
{
Title: "asdf",
Icon: "😀",
Type: "income",
},
}, nil
}