r.Context is undefined while trying to build project #299

Closed
opened 2026-01-19 18:29:48 +00:00 by michael · 3 comments
Owner

Originally created by @truelecter on GitHub.

image

Originally created by @truelecter on GitHub. ![image](https://user-images.githubusercontent.com/5520406/48968551-c07b4780-eff9-11e8-85e4-8e2cb14736ff.png)
Author
Owner

@paolafrancesca commented on GitHub:

https://www.joeshaw.org/revisiting-context-and-http-handler-for-go-17/

you may have a go version lower than 1.7 @TrueLecter

@paolafrancesca commented on GitHub: https://www.joeshaw.org/revisiting-context-and-http-handler-for-go-17/ you may have a go version lower than 1.7 @TrueLecter
Author
Owner

@truelecter commented on GitHub:

Yep, that was my bad. Thought that golang version in repos are up to date. Appears that it is 1.6. Installed 1.11 ad everything worked

Thanks for your awesome project!

@truelecter commented on GitHub: Yep, that was my bad. Thought that golang version in repos are up to date. Appears that it is 1.6. Installed 1.11 ad everything worked Thanks for your awesome project!
Author
Owner

@paolafrancesca commented on GitHub:

14:23 $ go version
go version go1.11.1 darwin/amd64

14:23 $ go build -o transfersh main.go

@paolafrancesca commented on GitHub: 14:23 $ go version go version go1.11.1 darwin/amd64 ✔ 14:23 $ go build -o transfersh main.go ✔
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dutchcoders/transfer.sh#299