mirror of
https://github.com/foomo/squadron.git
synced 2025-10-16 12:35:42 +00:00
14 lines
204 B
Go
14 lines
204 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"net/http"
|
|
)
|
|
|
|
func main() {
|
|
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
|
|
_, _ = fmt.Fprintf(w, "hello")
|
|
})
|
|
_ = http.ListenAndServe(":80", nil)
|
|
}
|