Untitled
Anonymous
golang
04/07/2024 2:23 AM
296 B
36
Indexable
package main
import(
"fmt"
"net/http"
)
func HelloWorldPage(w http.ResponseWriter, r *http.Request){
fmt.Fprint(w, "Hello World")
}
func main(){
http.HandleFunc("/", HelloWorldPage)
http.ListenAndServe("", nil)
}
Editor is loading...
Leave a Comment