Skip to content

Instantly share code, notes, and snippets.

@ryangjchandler
Created May 14, 2020 22:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryangjchandler/f3f79732a7ad93069d645dc104976f9c to your computer and use it in GitHub Desktop.
Save ryangjchandler/f3f79732a7ad93069d645dc104976f9c to your computer and use it in GitHub Desktop.
import "http" exposing HttpServer, Request, Response
function main() {
HttpServer.get("/", func (req Request, res Response) => {
return res.Send("Hello!")
})
HttpServer.listen(8080)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment