This commit is contained in:
Keiran 2025-08-07 02:23:30 +01:00
parent 892b62f432
commit ecf852cedd
2 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,7 @@
BINARY = termcloud
build: clean
go build -o build/termcord cmd/termcord/main.go
go build -o build/${BINARY} cmd/${BINARY}/main.go
clean:
go clean ./...

View File

@ -3,5 +3,8 @@ package handlers
import "github.com/labstack/echo/v4"
func RootHandler(c echo.Context) error {
return c.String(200, "Hello, World!")
return c.JSON(200, map[string]string{
"status": "😺",
"docs": "https://illfillthisoutlater.com",
})
}