Update 02.1.md

Fix small typo
This commit is contained in:
Alexander
2015-01-13 20:10:51 +03:00
committed by James Miranda
parent 16a7afe84c
commit bb6874e2f4

View File

@@ -24,7 +24,7 @@ It prints following information.
One thing that you should know in the first is that Go programs are composed by `package`.
`package<pkgName>` (In this case is `package main`) tells us this source file belongs to `main` package, and the keyword `main` tells us this package will be compiled to a program instead of package files whose extensions are `.a`.
`package <pkgName>` (In this case is `package main`) tells us this source file belongs to `main` package, and the keyword `main` tells us this package will be compiled to a program instead of package files whose extensions are `.a`.
Every executable program has one and only one `main` package, and you need an entry function called `main` without any arguments or return values in the `main` package.