Closed haf closed 4 years ago
@akashrv would you mind taking a look here? I think you wrote this sample?
Ack. Will take a look.
I confirm that this is a bug. I am commenting on the PR
@akashrv have you had a chance to take a look at this?
@akashrv have you had a chance to take a look at this?
Looking at it now. I have the build fix + switch to go mod. I'll wait for a day to see if @haf responds on his PR, or else will send a PR and we can get this fixed.
https://github.com/knative/docs/pull/2438 --> Please approve.
Describe the bug The hello world sample here doesn't work: https://knative.dev/development/eventing/samples/helloworld/helloworld-go/
Expected behavior Should be possible to compile the app with the dockerfile.
To Reproduce
Follow the hello world guide.
1) missing package statement in the entry point file 2) missing instructions on how to download/initialise go mod or otherwise download "github.com/cloudevents/sdk-go/v2" 3) once it compiles locally (macOS, Go 1.14), the linux build fails with:
After fixing this you get:
when you've followed everything here https://knative.dev/development/install/any-kubernetes-cluster/ specifically, this makefile:
Knative release version HEAD of this repo
Additional context Priority: fairly low, but it stopped me right in my tracks with onboarding