Update 02.1.md
Fix small typo
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user