mirror of
https://github.com/docker/build-push-action.git
synced 2024-11-15 17:43:52 +08:00
a3646c08f8
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
15 lines
218 B
Go
15 lines
218 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"log"
|
|
"net/http"
|
|
)
|
|
|
|
func main() {
|
|
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
|
|
fmt.Fprintf(w, "Hello, Go!")
|
|
})
|
|
log.Fatal(http.ListenAndServe(":8080", nil))
|
|
}
|