From fa957b3af52c8f8c8c07b4090945a633681ee0be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B1=85=E6=AD=A3?= <812312770@qq.com> Date: Tue, 7 Dec 2021 23:23:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BB=A3=E7=A0=81=E4=B8=80?= =?UTF-8?q?=E5=A4=84=E6=8B=BC=E5=86=99=E9=94=99=E8=AF=AF=20(#813)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- eBook/12.2.md | 2 +- eBook/examples/chapter_12/fileinput.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eBook/12.2.md b/eBook/12.2.md index a095e14..28a0a0f 100644 --- a/eBook/12.2.md +++ b/eBook/12.2.md @@ -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() diff --git a/eBook/examples/chapter_12/fileinput.go b/eBook/examples/chapter_12/fileinput.go index 511b536..8c401e3 100644 --- a/eBook/examples/chapter_12/fileinput.go +++ b/eBook/examples/chapter_12/fileinput.go @@ -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()