Add linters and fix lint issues

This commit is contained in:
Quentin McGaw
2020-10-20 02:45:28 +00:00
parent f9bef8ecda
commit 9c73faaaeb
107 changed files with 739 additions and 422 deletions

View File

@@ -8,7 +8,7 @@ import (
"github.com/qdm12/gluetun/internal/params"
)
// System contains settings to configure system related elements
// System contains settings to configure system related elements.
type System struct {
UID int
GID int
@@ -16,7 +16,7 @@ type System struct {
IPStatusFilepath models.Filepath
}
// GetSystemSettings obtains the System settings using the params functions
// GetSystemSettings obtains the System settings using the params functions.
func GetSystemSettings(paramsReader params.Reader) (settings System, err error) {
settings.UID, err = paramsReader.GetUID()
if err != nil {