1
0
mirror of https://github.com/golang/go synced 2024-11-25 01:47:56 -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:
Shenghou Ma 2012-03-22 03:18:47 +08:00
parent cfd8b84f07
commit 7186e56573

View File

@ -337,7 +337,7 @@ func (e *NoGoError) Error() string {
// considered part of the package except for:
//
// - .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
//
// If an error occurs, Import returns a non-nil error also returns a non-nil