Forking and contributing to a Go project

Mon, Nov 6, 2023 One-minute read

Forking and contributing to a Go project

I am using for a project and it does not support Sign in with Slack OpenID connect.

After writing the connector manually I decided I’d try contributing upstream.

After forking and making the changes I thought would work I needed to test them against my working application and didn’t know how to use my fork instead of the actual package.

Thankfully, it’s pretty easy.

go mod edit -replace ""

Doing this and a go mod tidy pulled in my branch and a minute later I’d proven my changes worked.

Hopefully it gets merged sometime. pr

Edit: My contribution got merged!


#oss #til #go