Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
54c9fe88
Commit
54c9fe88
authored
May 17, 2012
by
Maxim Pimenov
Committed by
Rob Pike
May 17, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
go/build: fix some comments
R=golang-dev, r CC=golang-dev
https://golang.org/cl/6217044
parent
ec099b2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/pkg/go/build/build.go
src/pkg/go/build/build.go
+2
-2
No files found.
src/pkg/go/build/build.go
View file @
54c9fe88
...
...
@@ -68,7 +68,7 @@ type Context struct {
// ReadDir returns a slice of os.FileInfo, sorted by Name,
// describing the content of the named directory.
// If ReadDir is nil, Import uses io.ReadDir.
// If ReadDir is nil, Import uses io
util
.ReadDir.
ReadDir
func
(
dir
string
)
(
fi
[]
os
.
FileInfo
,
err
error
)
// OpenFile opens a file (not a directory) for reading.
...
...
@@ -340,7 +340,7 @@ func (e *NoGoError) Error() string {
// - 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 a
lso returns
a non-nil
// If an error occurs, Import returns a non-nil error a
nd
a non-nil
// *Package containing partial information.
//
func
(
ctxt
*
Context
)
Import
(
path
string
,
srcDir
string
,
mode
ImportMode
)
(
*
Package
,
error
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment