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
ede44c68
Commit
ede44c68
authored
Nov 02, 2011
by
Andrew Gerrand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
weekly.2011-11-02
R=golang-dev, bradfitz, rsc CC=golang-dev
https://golang.org/cl/5308077
parent
492098eb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
1 deletion
+20
-1
.hgtags
.hgtags
+0
-1
doc/devel/weekly.html
doc/devel/weekly.html
+20
-0
No files found.
.hgtags
View file @
ede44c68
...
@@ -91,4 +91,3 @@ acaddf1cea75c059d19b20dbef35b20fb3f38954 release.r58.2
...
@@ -91,4 +91,3 @@ acaddf1cea75c059d19b20dbef35b20fb3f38954 release.r58.2
941b8015061a0f6480954821dd589c60dfe35ed1 weekly.2011-10-25
941b8015061a0f6480954821dd589c60dfe35ed1 weekly.2011-10-25
7c1f789e6efd153951e85e3f28722fc69efc2af2 weekly.2011-10-26
7c1f789e6efd153951e85e3f28722fc69efc2af2 weekly.2011-10-26
e69e528f2afc25a8334cfb9359fa4fcdf2a934b6 weekly.2011-11-01
e69e528f2afc25a8334cfb9359fa4fcdf2a934b6 weekly.2011-11-01
e69e528f2afc25a8334cfb9359fa4fcdf2a934b6 weekly
doc/devel/weekly.html
View file @
ede44c68
...
@@ -14,6 +14,26 @@ hg pull
...
@@ -14,6 +14,26 @@ hg pull
hg update weekly.
<i>
YYYY-MM-DD
</i>
hg update weekly.
<i>
YYYY-MM-DD
</i>
</pre>
</pre>
<h2
id=
"2011-11-02"
>
2011-11-02 (new error type)
</h2>
<pre>
This snapshot introduces the built-in error type, defined as
type error interface {
Error() string
}
The error type replaces os.Error. Notice that the method name has changed from
String to Error. Package fmt's Print formats both Stringers and errors:
in general there is no need to implement both String and Error methods.
Gofix can update most code. If you have split your package across many files,
it may help to use the -force=error command-line option, which forces gofix to
apply the error fix even if it is not obvious that a particular file needs it.
As always, it is a good idea to read and test the changes that gofix made
before committing them to your version control system.
</pre>
<h2
id=
"2011-11-01"
>
2011-11-01
</h2>
<h2
id=
"2011-11-01"
>
2011-11-01
</h2>
<pre>
<pre>
...
...
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