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