github.com/windmilleng/tilt@v0.13.6/integration/onedc/main.go (about)

     1  package main
     2  
     3  import (
     4  	"log"
     5  	"net/http"
     6  )
     7  
     8  // One service deployed with docker-compose
     9  func main() {
    10  	http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
    11  		msg := "🍄 One-Up! 🍄"
    12  		_, _ = w.Write([]byte(msg))
    13  	})
    14  
    15  	log.Println("Serving onedc on 8000")
    16  	_ = http.ListenAndServe(":8000", nil)
    17  }