diff --git a/config/tomlloader.go b/config/tomlloader.go index 92559379..8f688b3a 100644 --- a/config/tomlloader.go +++ b/config/tomlloader.go @@ -30,7 +30,7 @@ import ( type TOMLLoader struct { } -// Load load the configuraiton TOML file specified by path arg. +// Load load the configuration TOML file specified by path arg. func (c TOMLLoader) Load(pathToToml, keyPass string) error { if Conf.Debug { log.SetLevel(log.DebugLevel) diff --git a/models/packages.go b/models/packages.go index 615622d6..e56f9c10 100644 --- a/models/packages.go +++ b/models/packages.go @@ -147,7 +147,7 @@ func (p Package) FormatChangelog() string { case FailedToGetChangelog: clog = "No changelogs" case FailedToFindVersionInChangelog: - clog = "Failed to parse changelogs. For detials, check yourself" + clog = "Failed to parse changelogs. For details, check yourself" } buf = append(buf, packVer, delim.String(), clog) return strings.Join(buf, "\n") diff --git a/models/scanresults.go b/models/scanresults.go index 8c89b156..98713d69 100644 --- a/models/scanresults.go +++ b/models/scanresults.go @@ -146,7 +146,7 @@ func (r ScanResult) ServerInfo() string { ) } -// ServerInfoTui returns server infromation for TUI sidebar +// ServerInfoTui returns server information for TUI sidebar func (r ScanResult) ServerInfoTui() string { if len(r.Container.ContainerID) == 0 { line := fmt.Sprintf("%s (%s%s)",