exercism / go

Exercism exercises in Go.
https://exercism.org/tracks/go
MIT License
951 stars 644 forks source link

Hello world: Error: not in workspace #2722

Closed luilver closed 8 months ago

luilver commented 8 months ago

I followed instructions of this exercism, also read working locally help, and solved it.

But when I run exercism submit hello_world.go it just errored:

hello-world $ exercism submit hello_world.go
Error: not in workspace

--

Tests passing:

hello-world $ go test -v --bench . --benchmem
=== RUN TestHelloWorld
--- PASS: TestHelloWorld (0.00s)
goos: darwin
goarch: amd64
pkg: greeting
cpu: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
BenchmarkHelloWorld
BenchmarkHelloWorld-12 1000000000 0.9185 ns/op 0 B/op 0 allocs/op
PASS
ok greeting 1.546s

My go environment:

GO111MODULE=''
GOARCH='amd64'
GOBIN=''
GOCACHE='/Users/Luilver/Library/Caches/go-build'
GOENV='/Users/Luilver/Library/Application Support/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='darwin'
GOINSECURE=''
GOMODCACHE='/Users/Luilver/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='darwin'
GOPATH='/Users/Luilver/go'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/Users/Luilver/.local/opt/go-v1.21.3'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/Users/Luilver/.local/opt/go-v1.21.3/pkg/tool/darwin_amd64'
GOVCS=''
GOVERSION='go1.21.3'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='clang'
CXX='clang++'
CGO_ENABLED='1'
GOMOD='/Users/Luilver/exercism/go/hello-world/go.mod'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -ffile-prefix-map=/var/folders/5v/k8578ml532s0r57cns1w30mm0000gp/T/go-build1804941013=/tmp/go-build -gno-record-gcc-switches -fno-common'
github-actions[bot] commented 8 months ago

Hello. Thanks for opening an issue on Exercism. We are currently in a phase of our journey where we have paused community contributions to allow us to take a breather and redesign our community model. You can learn more in this blog post. As such, all issues and PRs in this repository are being automatically closed.

That doesn't mean we're not interested in your ideas, or that if you're stuck on something we don't want to help. The best place to discuss things is with our community on the Exercism Community Forum. You can use this link to copy this into a new topic there.


Note: If this issue has been pre-approved, please link back to this issue on the forum thread and a maintainer or staff member will reopen it.