fix typo
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user