Przeglądaj źródła

Merge pull request #2 from ebfe/typo

Fix typo.
Dmitry Chestnykh 12 lat temu
rodzic
commit
73e6160e7a
2 zmienionych plików z 2 dodań i 2 usunięć
  1. 1 1
      README.md
  2. 1 1
      audio.go

+ 1 - 1
README.md

@@ -207,7 +207,7 @@ type Audio struct {
 
 
 	func NewAudio(digits []byte, lang string) *Audio
 	func NewAudio(digits []byte, lang string) *Audio
 	
 	
-NewImage returns a new audio captcha with the given digits, where each digit
+NewAudio returns a new audio captcha with the given digits, where each digit
 must be in range 0-9. Digits are pronounced in the given language. If there
 must be in range 0-9. Digits are pronounced in the given language. If there
 are no sounds for the given language, English is used.
 are no sounds for the given language, English is used.
 
 

+ 1 - 1
audio.go

@@ -28,7 +28,7 @@ type Audio struct {
 	digitSounds [][]byte
 	digitSounds [][]byte
 }
 }
 
 
-// NewImage returns a new audio captcha with the given digits, where each digit
+// NewAudio returns a new audio captcha with the given digits, where each digit
 // must be in range 0-9. Digits are pronounced in the given language. If there
 // must be in range 0-9. Digits are pronounced in the given language. If there
 // are no sounds for the given language, English is used.
 // are no sounds for the given language, English is used.
 //
 //