mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-08-11 22:53:43 +08:00
修复代码一处拼写错误 (#813)
This commit is contained in:
@@ -21,7 +21,7 @@ func main() {
|
||||
if inputError != nil {
|
||||
fmt.Printf("An error occurred on opening the inputfile\n" +
|
||||
"Does the file exist?\n" +
|
||||
"Have you got acces to it?\n")
|
||||
"Have you got access to it?\n")
|
||||
return // exit the function on error
|
||||
}
|
||||
defer inputFile.Close()
|
||||
|
@@ -17,7 +17,7 @@ func main() {
|
||||
if inputError != nil {
|
||||
fmt.Printf("An error occurred on opening the inputfile\n" +
|
||||
"Does the file exist?\n" +
|
||||
"Have you got acces to it?\n")
|
||||
"Have you got access to it?\n")
|
||||
return // exit the function on error
|
||||
}
|
||||
defer inputFile.Close()
|
||||
|
Reference in New Issue
Block a user