Skip to content

About

A hello-world web app in Go for FadeHost app hosting: no build command, reads PORT.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

example-go-hello

Deploy to FadeHost

A hello-world web app in Go, for FadeHost app hosting.

Deploy it from the panel with no start command and no build command: the runtime sees the go.mod, compiles the module and runs the binary.

It reads the port from the PORT variable, which FadeHost sets for every app, and prints the result of a request to itself once it is listening.

Running it yourself

PORT=8080 go run .
curl http://localhost:8080/

Licence

MIT, see LICENSE.

About

A hello-world web app in Go for FadeHost app hosting: no build command, reads PORT.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages