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

@ -1,3 +1,4 @@
// Package config implements functions pertaining to configuration management.
package config
import (
@ -24,7 +25,7 @@ type Config struct {
}
// New returns a new Config struct
func New(opts map[string]interface{}, confPath string, resolve bool) (Config, error) {
func New(_ map[string]interface{}, confPath string, resolve bool) (Config, error) {
// read the config file
buf, err := os.ReadFile(confPath)