Write into your .bashrc
or .zshrc
;
export GOPATH=$HOME/go
export GOBIN=$GOPATH/bin
export PATH=$PATH:$GOBIN
And then;
$ source ~/.zshrc # or ~/.bashrc
$ go get -u github.com/leop0ld/gorending
- github.com/urfave/cli
- github.com/PuerkitoBio/goquery
- github.com/manifoldco/promptui
- github.com/skratchdot/open-golang
If you want to see 5 repositories about golang in Github trending, type like below;
$ gorending --lang go --count 5
or
$ gorending -L go -C 5
If you want to see 15 repositories about all languages in Github trending, type this;
$ gorending --count 15
or
$ gorending -C 15
And move cursor, input ENTER.
Then open default browser with selected tredings URL.