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

Create versions of broken check funcs compatible with gomodules #5

Merged
merged 2 commits into from
Sep 12, 2019

Conversation

tadaskay
Copy link
Contributor

@tadaskay tadaskay commented Sep 11, 2019

Using go 1.13 in https://github.com/mysteriumnetwork/feedback with go.mod, thus I need the checks working

  • Introducing D version of each broken check to operate on directory
    instead of packages. This allows operating on dirs outside GOPATH.

  • Leaving old versions for compatibility until all of our go
    projects are migrated to go.mod.

  • Change in usage:

commands.Check("./...", "docs")commands.CheckD(".", "docs")

  • Common excludes are defined in util.GoLintExcludes() and are used by all the check funcs

* Introducing `D` version of each broken check to operate on directory
instead of packages. This allows operating on dirs outside GOPATH.

* Leaving old versions for compatibility until all of our go
projects are migrated to go.mod.

* Change in usage:

`commands.Check("./...", "docs")` → `commands.CheckD(".", "docs")`

* Common excludes are defined in `util.GoLintExcludes()`
@tadaskay tadaskay merged commit c54e2b0 into master Sep 12, 2019
@tadaskay tadaskay deleted the gomod-support branch September 12, 2019 06:49
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.

2 participants