This commit is contained in:
uta-mori
2020-07-28 13:28:23 +09:00
parent 86b970f35a
commit 8009f7e72b
2 changed files with 2 additions and 2 deletions

View File

@@ -52,7 +52,7 @@ ARG GO_TOOLS_WITH_MODULES="\
RUN (echo "${GO_TOOLS_WITH_MODULES}" | xargs -n 1 go get )2>&1 \ RUN (echo "${GO_TOOLS_WITH_MODULES}" | xargs -n 1 go get )2>&1 \
# golangci-lint # golangci-lint
&& curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b /usr/local/bin 2>&1 \ && curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b /usr/local/bin 2>&1
# [Optional] Uncomment the next line to use go get to install anything else you need # [Optional] Uncomment the next line to use go get to install anything else you need
# RUN go get -x <your-dependency-or-tool> # RUN go get -x <your-dependency-or-tool>
# [Optional] Uncomment this section to install additional OS packages. # [Optional] Uncomment this section to install additional OS packages.

View File

@@ -18,7 +18,7 @@ func handle(w http.ResponseWriter, r *http.Request) {
} }
func main() { func main() {
portNumber := "5000" portNumber := "9000"
http.HandleFunc("/", handle) http.HandleFunc("/", handle)
fmt.Println("Server listening on port ", portNumber) fmt.Println("Server listening on port ", portNumber)
http.ListenAndServe(":"+portNumber, nil) http.ListenAndServe(":"+portNumber, nil)