Fix documented annotation

This commit is contained in:
2023-02-07 05:20:44 +00:00
parent e48d7b1071
commit 162248cc3d
2 changed files with 2 additions and 2 deletions

View File

@@ -62,7 +62,7 @@ func IsAcceptable(power string) bool {
return false
}
// Load JSON file and decode to `[]*Person` list
// Load superheros from the given JSON file path.
func Load(path string) (l []*Superhero, err error) {
var f *os.File
if f, err = os.Open(path); err != nil {