gitlab.com/Raven-IO/raven-delve@v1.22.4/_fixtures/http_server.go (about)

     1  package main
     2  
     3  import (
     4  	"fmt"
     5  	"net/http"
     6  )
     7  
     8  func main() {
     9  	http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
    10  		fmt.Fprintf(w, "hello world")
    11  	})
    12  	http.ListenAndServe(":0", nil)
    13  }