Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
4d3c9990
Commit
4d3c9990
authored
Nov 02, 2011
by
Andrew Gerrand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
builtin: document built-in error type
R=golang-dev, dsymonds, r CC=golang-dev
https://golang.org/cl/5307080
parent
c4845c1c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
builtin.go
src/pkg/builtin/builtin.go
+9
-3
No files found.
src/pkg/builtin/builtin.go
View file @
4d3c9990
...
...
@@ -3,10 +3,10 @@
// license that can be found in the LICENSE file.
/*
Package builtin provides documentation for Go's
built-in function
s.
The
function
s documented here are not actually in package builtin
Package builtin provides documentation for Go's
predeclared identifier
s.
The
item
s documented here are not actually in package builtin
but their descriptions here allow godoc to present documentation
for the language's special
function
s.
for the language's special
identifier
s.
*/
package
builtin
...
...
@@ -133,3 +133,9 @@ func panic(v interface{})
// nil. Thus the return value from recover reports whether the goroutine is
// panicking.
func
recover
()
interface
{}
// The error built-in interface type is the conventional interface for
// representing an error condition, with the nil value representing no error.
type
error
interface
{
Error
()
string
}
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