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
dfaa6eaa
Commit
dfaa6eaa
authored
Feb 25, 2010
by
Robert Griesemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tabwriter: make use of new []byte() conversion
R=rsc CC=golang-dev
https://golang.org/cl/224063
parent
39101613
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tabwriter.go
src/pkg/tabwriter/tabwriter.go
+2
-2
No files found.
src/pkg/tabwriter/tabwriter.go
View file @
dfaa6eaa
...
@@ -243,7 +243,7 @@ func (b *Writer) writeN(src []byte, n int) os.Error {
...
@@ -243,7 +243,7 @@ func (b *Writer) writeN(src []byte, n int) os.Error {
var
(
var
(
newline
=
[]
byte
{
'\n'
}
newline
=
[]
byte
{
'\n'
}
tabs
=
[]
byte
{
'\t'
,
'\t'
,
'\t'
,
'\t'
,
'\t'
,
'\t'
,
'\t'
,
'\t'
}
tabs
=
[]
byte
(
"
\t\t\t\t\t\t\t\t
"
)
)
)
...
@@ -497,7 +497,7 @@ func (b *Writer) Flush() os.Error {
...
@@ -497,7 +497,7 @@ func (b *Writer) Flush() os.Error {
}
}
var
hbar
=
[]
byte
{
'-'
,
'-'
,
'-'
,
'\n'
}
var
hbar
=
[]
byte
(
"---
\n
"
)
// Write writes buf to the writer b.
// Write writes buf to the writer b.
// The only errors returned are ones encountered
// The only errors returned are ones encountered
...
...
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