restructuring

This commit is contained in:
Hazel Noack 2025-07-03 13:59:29 +02:00
parent 3f359d0c57
commit 41a20025f9
4 changed files with 10 additions and 4 deletions

6
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,6 @@
{
"cSpell.words": [
"diyhrt",
"transfem"
]
}

View File

@ -1,4 +1,4 @@
package backend
package diyhrt
import (
"encoding/json"

View File

@ -1,4 +1,4 @@
package backend
package diyhrt
type ActiveIngredient struct {
Name string `json:"name"`

View File

@ -3,13 +3,13 @@ package main
import (
"fmt"
"gitea.elara.ws/Hazel/transfem-startpage/backend"
"gitea.elara.ws/Hazel/transfem-startpage/internal/diyhrt"
)
func main() {
fmt.Println("running transfem startpage")
listings, err := backend.GetListings()
listings, err := diyhrt.GetListings()
if err != nil {
fmt.Println(err)
return