mirror of
https://gitea.com/docker/build-push-action.git
synced 2024-11-24 10:29:39 +01:00
a3646c08f8
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
14 lines
218 B
Go
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))
|
|
}
|