Introduction
When starting a new Go project, you often "go get" some package likes mux, mongo go driver, gorm,... And with each package, you need to remember full path of that package:
go get -u github.com/gorilla/mux
go get go.mongodb.org/mongo-driver/mongo
go get -u gorm.io/gorm
It's really inconvenient. But don't worry, I have written small tool that you can use to search and install go packages with just keyword.
Installation
go install github.com/kinensake/psearch@v1.0.1
Usage
psearch <package-keyword>
Then choose package in package list to install.
Example
This will get package into your module automatically.
Github Repository: https://github.com/kinensake/psearch
If you like it, please give my repository one star ⭐
Your contribution is also my honor ❤️
Top comments (0)