new readme

This commit is contained in:
samantha42
2026-03-24 11:21:53 +01:00
parent a9d4f09b62
commit bea8582282
2 changed files with 178 additions and 2 deletions

View File

@@ -33,7 +33,11 @@ func main() {
fmt.Println("Connected to SQLite database")
http.HandleFunc("/health", handlers.HealthHandler(db))
http.HandleFunc("/add/company", handlers.AddCompanyHandler(db))
http.HandleFunc("POST /add/company", handlers.AddCompanyHandler(db))
/*
http.HandleFunc("GET /companies", handlers.AddCompanyHandler(db))
http.HandleFunc("GET /currencies", handlers.AddCompanyHandler(db))
*/
fmt.Println("Server running on :8080")
go func() {