Merge pull request #600 from bcko/patch-1
typo fix: distint -> distinct
This commit is contained in:
@@ -75,7 +75,7 @@ As we mentioned in chapter 1, the package's name and the name of the folder that
|
||||
|
||||
You may notice that the example above contains many non-ASCII characters. The purpose of showing this is to tell you that Go supports UTF-8 by default. You can use any UTF-8 character in your programs.
|
||||
|
||||
Each go file is in some package, and that package should be a distint folder in the GOPATH, but main is a special package which doesn't require a `main` folder. This is one aspect which they left out for standardization! But should you choose to make a main folder then you have to ensure that you run the binary properly. Also one go code can't have more than one `main` go file.
|
||||
Each go file is in some package, and that package should be a distinct folder in the GOPATH, but main is a special package which doesn't require a `main` folder. This is one aspect which they left out for standardization! But should you choose to make a main folder then you have to ensure that you run the binary properly. Also one go code can't have more than one `main` go file.
|
||||
|
||||
`~/go/src/github.com/thewhitetulip/Tasks/main $ go build`
|
||||
`~/go/src/github.com/thewhitetulip/Tasks $ ./main/main`
|
||||
|
||||
Reference in New Issue
Block a user