Fix documented annotation
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user