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

Move to Go modules #338

Merged
merged 5 commits into from
Jul 27, 2020
Merged

Move to Go modules #338

merged 5 commits into from
Jul 27, 2020

Conversation

ericonr
Copy link
Contributor

@ericonr ericonr commented Jul 27, 2020

Fix #238, I hope.

Go modules are the standard way of dealing with dependencies in Go. I also couldn't launch ./browsh because it couldn't find the extension... Importing it without the leading forward slash worked, so I added that in the PR. I believe I generated it the correct way, so I'm not sure why I needed to make this change.

@@ -0,0 +1,34 @@
module github.com/browsh-org/browsh/interfacer

go 1.14
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is this version an issue? What minimum version of Go is being targeted?

Copy link
Member

Choose a reason for hiding this comment

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

I never encountered any version related issues. I just pinned a version for the sake of pinning, in case there were unforeseeable issues with future versions. If latest Go works, then let's bump.

No longer needed due to the move to Go modules.
Allows installation with `go install ./cmd/browsh`, no need to specify
output.
- Remove references to dep and GOPATH
- Use code blocks for commands
- Update for new build instructions
@tombh tombh merged commit 84f5382 into browsh-org:master Jul 27, 2020
@tombh
Copy link
Member

tombh commented Jul 27, 2020

Thank you SO much! It's important to be keeping up with Go's best practices.

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.

Please use fully qualified imports
2 participants