我试图制作一个一行脚本,当github是而不是golang后面的时打印出来。例如,java is a language used in github应该匹配,但是golang is a language used in github不应该匹配。echo "golang is a language used in github" |
perl -nle'print /(?&l
我用golang设置了一个简单的服务器: "golang-server/database" log.Fatal(http.ListenAndServe(":"+port, router))
下面是我的文件夹结构:下面是我的dockerfile的样子:
FROM golangRUN go mod download
Starting Step #0Step #0: Using default tag: latestStep #0: Error response from daemon: manifest for mirror.gcr.io/library/golang:latest not found: manifestunknown: Failed to fetch "latest" from requ