Commit 7186e565 authored by Shenghou Ma's avatar Shenghou Ma

go/build: clarify why we exclude files starting with '_' or '.'

R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/5864053
parent cfd8b84f
...@@ -337,7 +337,7 @@ func (e *NoGoError) Error() string { ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment