chore(lint): various changes to appease revive

- Add `package` comments
- Rename `opts` to `_` where unused
This commit is contained in:
Christopher Allen Lane
2023-12-13 09:10:20 -05:00
parent 95a4e31b6c
commit bfb071c0b2
12 changed files with 20 additions and 5 deletions

View File

@ -10,7 +10,7 @@ import (
)
// cmdDirectories lists the configured cheatpaths.
func cmdDirectories(opts map[string]interface{}, conf config.Config) {
func cmdDirectories(_ map[string]interface{}, conf config.Config) {
// initialize a tabwriter to produce cleanly columnized output
var out bytes.Buffer