mirror of
https://github.com/golang/go
synced 2024-11-12 10:00:25 -07:00
go/build: clarify why we exclude files starting with '_' or '.'
R=golang-dev, gri CC=golang-dev https://golang.org/cl/5864053
This commit is contained in:
parent
cfd8b84f07
commit
7186e56573
@ -337,7 +337,7 @@ func (e *NoGoError) Error() string {
|
|||||||
// considered part of the package except for:
|
// considered part of the package except for:
|
||||||
//
|
//
|
||||||
// - .go files in package documentation
|
// - .go files in package documentation
|
||||||
// - files starting with _ or .
|
// - files starting with _ or . (likely editor temporary files)
|
||||||
// - files with build constraints not satisfied by the context
|
// - files with build constraints not satisfied by the context
|
||||||
//
|
//
|
||||||
// If an error occurs, Import returns a non-nil error also returns a non-nil
|
// If an error occurs, Import returns a non-nil error also returns a non-nil
|
||||||
|
Loading…
Reference in New Issue
Block a user