From 65d211c4bbf20275617ef34a424fbb8d03e9f675 Mon Sep 17 00:00:00 2001 From: kr1sten0 Date: Fri, 11 Aug 2017 14:20:09 +0800 Subject: [PATCH] fix typo fix typo in README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index abe948e..78307cf 100644 --- a/README.md +++ b/README.md @@ -52,11 +52,11 @@ func main() { ```go res, _ := imageType.ParsePath("../testdata/test.jpg") -if img != nil { +if res != nil { fmt.Println("It's image") } ``` # Licenses -All source code is licensed under the [MIT License](https://github.com/mushroomsir/image-type/blob/master/LICENSE). \ No newline at end of file +All source code is licensed under the [MIT License](https://github.com/mushroomsir/image-type/blob/master/LICENSE).