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

@@ -32,7 +32,7 @@ func chiffre(text string, key int) string {
output strings.Builder // String builder to store the encoded string output strings.Builder // String builder to store the encoded string
ascii int // ASCII value of the current character ascii int // ASCII value of the current character
) )
//
// Convert the text string to lowercase // Convert the text string to lowercase
text = strings.ToLower(text) text = strings.ToLower(text)

View File

@@ -62,7 +62,7 @@ func IsAcceptable(power string) bool {
return false 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) { func Load(path string) (l []*Superhero, err error) {
var f *os.File var f *os.File
if f, err = os.Open(path); err != nil { if f, err = os.Open(path); err != nil {