From 2cfb8b81aa29d1615cb310f7cc4e447f907f20dd Mon Sep 17 00:00:00 2001 From: bofei5675 <30295308+bofei5675@users.noreply.github.com> Date: Sat, 23 May 2020 10:50:03 +0800 Subject: [PATCH 1/2] =?UTF-8?q?Update=20day02=5F=E5=9F=BA=E6=9C=AC?= =?UTF-8?q?=E8=AF=AD=E6=B3=95.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...day02_\345\237\272\346\234\254\350\257\255\346\263\225.md" | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git "a/Day01-15(Go\350\257\255\350\250\200\345\237\272\347\241\200)/day02_\345\237\272\346\234\254\350\257\255\346\263\225.md" "b/Day01-15(Go\350\257\255\350\250\200\345\237\272\347\241\200)/day02_\345\237\272\346\234\254\350\257\255\346\263\225.md" index 8573fb1..07dcd6f 100644 --- "a/Day01-15(Go\350\257\255\350\250\200\345\237\272\347\241\200)/day02_\345\237\272\346\234\254\350\257\255\346\263\225.md" +++ "b/Day01-15(Go\350\257\255\350\250\200\345\237\272\347\241\200)/day02_\345\237\272\346\234\254\350\257\255\346\263\225.md" @@ -47,7 +47,7 @@ name := value // 例如 var a int = 10 var b = 10 -c : = 10 +c := 10 ``` > 这种方式它只能被用在函数体内,而不可以用于全局变量的声明与赋值 @@ -314,4 +314,4 @@ https://www.bilibili.com/video/av47467197 源代码: -https://github.com/rubyhan1314/go_foundation \ No newline at end of file +https://github.com/rubyhan1314/go_foundation From cae000d592fe4f5054df25884ac93c2d40399076 Mon Sep 17 00:00:00 2001 From: bofei5675 <30295308+bofei5675@users.noreply.github.com> Date: Sat, 23 May 2020 10:50:12 +0800 Subject: [PATCH 2/2] =?UTF-8?q?Update=20day02=5F=E5=9F=BA=E6=9C=AC?= =?UTF-8?q?=E8=AF=AD=E6=B3=95.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit