Small rofi script to search for Go packages on pkg.go.dev.
Buind and install it in your $GOPATH/bin:
$ go install github.com/giulianopz/grofi@mainThen add a custom keyboard shortcut to launch rofi in script mode according to your desktop environment (e.g. see here for GNOME) executing the following command:
rofi -show grofi -modi "grofi:$(go env GOPATH)/bin/grofi" Launch rofi with the configured shortcut. Then, type the name of a package or a keyword and press Enter to open in the browser the documentation of the selected entry:
