Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Go modules #232

Closed
wants to merge 3 commits into from
Closed

Go modules #232

wants to merge 3 commits into from

Conversation

alexplevako
Copy link

@alexplevako alexplevako commented May 2, 2020

Issue #, if available:
#169

Description of changes:

  • This PR holds changes required for Go Modules support.
  • Tools version locked in go.mod
  • Installing protoc in _tools/

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@@ -0,0 +1,14 @@
module github.com/twitchtv/twirp
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will not work because Twirp is tagged beyond v1. See #169 for an extended discussion

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have not tested this, but wouldn't this work with the +incompatible tag in the go.mod?

module example.com/twirp-svc

require github.com/twitchtv/twirp v5.6.0+incompatible

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will not, because +incompatible indicates that the module does not have a go.mod file...once the repository has a go.mod file then you cannot opt-out of Semantic Import Versioning

@albertorm95
Copy link

Will someone take a look at it?

@alexplevako alexplevako closed this Jul 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants