/goAPI

A very basic Go API that can be used as a template for a future project

Primary LanguageGo

This is a simple Go API with 2 handlers "/time" and "/hello" listening on port 8080

"/time" only responds to GET requests with the current time

"/hello" only responds to GET requests with the message "hello"

The API can be started by running go run api.go in the repository directory