oopsie
This commit is contained in:
parent
892b62f432
commit
ecf852cedd
4
Makefile
4
Makefile
@ -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 ./...
|
||||
|
||||
@ -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",
|
||||
})
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user