3
0
Fork 0
mirror of https://gitea.com/docker/build-push-action.git synced 2024-11-24 10:29:39 +01:00
docker-build-push/test/go/main.go
CrazyMax a3646c08f8
test: update go example
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-04-10 00:13:50 +02:00

14 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))
}