Merge pull request #234 from xiegang/main

Golang Packages: add internal packages
This commit is contained in:
Randy8080 authored and GitHub committed 2022-06-10 15:32:04 +08:00
commit 0663ee2ea9
1 file changed
+5
+5
View File
@@ -736,8 +736,13 @@ r.Intn()
```go
package main
// An internal package may be imported only by another package
// that is inside the tree rooted at the parent of the internal directory
package internal
```
See: [Internal packages](https://go.dev/doc/go1.4#internalpackages)
### Exporting names