Git Product home page Git Product logo

Comments (2)

yoheimuta avatar yoheimuta commented on August 20, 2024

@LucasBassetti

Of course, sure.
The path to protolint depends on your GOPATH and PATH envs.
I demonstrated it under /tmp like below.

/ ❯❯❯ cd /tmp

/tmp ❯❯❯ go version
go version go1.12.5 darwin/amd64

/tmp ❯❯❯ GOPATH=/tmp go get -u -v github.com/yoheimuta/protolint/cmd/protolint
github.com/yoheimuta/protolint (download)
github.com/hashicorp/go-plugin (download)
github.com/hashicorp/go-hclog (download)
...
github.com/yoheimuta/protolint/internal/cmd
github.com/yoheimuta/protolint/cmd/protolint

/tmp ❯❯❯ ./bin/protolint -h
Usage of lint:
  -config_dir_path string
        path/to/protolint.yaml
  -fix
        mode that the command line can automatically fix some of the problems
  -plugin value
        plugins to provide custom lint rule set. Note that it's necessary to specify it as path format'
  -reporter value
        formatter to output results in the specific format. Available reporters are "plain"(default) and "junit".
  -v    verbose output that includes parsing process details

FYI: If it won't work for you, you can also grab the binary from the release page.

from protolint.

LucasBassetti avatar LucasBassetti commented on August 20, 2024

Got it!

I fixed by setting GOPATH using:

export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin

Thank you!

from protolint.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.