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
15a3a5cf
Commit
15a3a5cf
authored
Dec 01, 2011
by
Robert Griesemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gofmt: applied gofmt -w -s src misc
R=golang-dev, rsc CC=golang-dev
https://golang.org/cl/5451070
parent
e281576b
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
13 additions
and
13 deletions
+13
-13
misc/cgo/gmp/pi.go
misc/cgo/gmp/pi.go
+1
-1
misc/swig/callback/run.go
misc/swig/callback/run.go
+1
-1
src/cmd/godoc/httpzip.go
src/cmd/godoc/httpzip.go
+2
-2
src/cmd/gofix/timefileinfo.go
src/cmd/gofix/timefileinfo.go
+1
-1
src/pkg/archive/zip/writer_test.go
src/pkg/archive/zip/writer_test.go
+2
-2
src/pkg/html/render_test.go
src/pkg/html/render_test.go
+4
-4
src/pkg/html/template/escape.go
src/pkg/html/template/escape.go
+1
-1
src/pkg/html/template/escape_test.go
src/pkg/html/template/escape_test.go
+1
-1
No files found.
misc/cgo/gmp/pi.go
View file @
15a3a5cf
...
...
@@ -38,8 +38,8 @@ POSSIBILITY OF SUCH DAMAGE.
package
main
import
(
big
"gmp"
"fmt"
big
"gmp"
"runtime"
)
...
...
misc/swig/callback/run.go
View file @
15a3a5cf
...
...
@@ -5,8 +5,8 @@
package
main
import
(
"swig/callback"
"fmt"
"swig/callback"
)
type
GoCallback
struct
{}
...
...
src/cmd/godoc/httpzip.go
View file @
15a3a5cf
src/cmd/gofix/timefileinfo.go
View file @
15a3a5cf
src/pkg/archive/zip/writer_test.go
View file @
15a3a5cf
...
...
@@ -21,12 +21,12 @@ type WriteTest struct {
}
var
writeTests
=
[]
WriteTest
{
WriteTest
{
{
Name
:
"foo"
,
Data
:
[]
byte
(
"Rabbits, guinea pigs, gophers, marsupial rats, and quolls."
),
Method
:
Store
,
},
WriteTest
{
{
Name
:
"bar"
,
Data
:
nil
,
// large data set in the test
Method
:
Deflate
,
...
...
src/pkg/html/render_test.go
View file @
15a3a5cf
...
...
@@ -30,11 +30,11 @@ func TestRenderer(t *testing.T) {
Type
:
ElementNode
,
Data
:
"p"
,
Attr
:
[]
Attribute
{
Attribute
{
{
Key
:
"id"
,
Val
:
"A"
,
},
Attribute
{
{
Key
:
"foo"
,
Val
:
`abc"def`
,
},
...
...
@@ -48,7 +48,7 @@ func TestRenderer(t *testing.T) {
Type
:
ElementNode
,
Data
:
"b"
,
Attr
:
[]
Attribute
{
Attribute
{
{
Key
:
"empty"
,
Val
:
""
,
},
...
...
@@ -64,7 +64,7 @@ func TestRenderer(t *testing.T) {
Type
:
ElementNode
,
Data
:
"i"
,
Attr
:
[]
Attribute
{
Attribute
{
{
Key
:
"backslash"
,
Val
:
`\`
,
},
...
...
src/pkg/html/template/escape.go
View file @
15a3a5cf
...
...
@@ -716,7 +716,7 @@ func (e *escaper) editTextNode(n *parse.TextNode, text []byte) {
// commit applies changes to actions and template calls needed to contextually
// autoescape content and adds any derived templates to the set.
func
(
e
*
escaper
)
commit
()
{
for
name
,
_
:=
range
e
.
output
{
for
name
:=
range
e
.
output
{
e
.
template
(
name
)
.
Funcs
(
funcMap
)
}
for
_
,
t
:=
range
e
.
derived
{
...
...
src/pkg/html/template/escape_test.go
View file @
15a3a5cf
...
...
@@ -1597,7 +1597,7 @@ func TestRedundantFuncs(t *testing.T) {
for
n0
,
m
:=
range
redundantFuncs
{
f0
:=
funcMap
[
n0
]
.
(
func
(
...
interface
{})
string
)
for
n1
,
_
:=
range
m
{
for
n1
:=
range
m
{
f1
:=
funcMap
[
n1
]
.
(
func
(
...
interface
{})
string
)
for
_
,
input
:=
range
inputs
{
want
:=
f0
(
input
)
...
...
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