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
33a4da89
Commit
33a4da89
authored
Jul 28, 2011
by
Rob Pike
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
exp/template: fix build
TBR=gri R=gri CC=golang-dev
https://golang.org/cl/4815070
parent
71ba47ac
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/cmd/goinstall/make.go
src/cmd/goinstall/make.go
+2
-2
src/pkg/rpc/debug.go
src/pkg/rpc/debug.go
+1
-1
No files found.
src/cmd/goinstall/make.go
View file @
33a4da89
...
...
@@ -138,7 +138,7 @@ type makedata struct {
Imports
[]
string
// gc/ld import paths
}
var
makefileTemplate
=
template
.
New
(
"Makefile"
)
.
Must
Parse
(
`
var
makefileTemplate
=
template
.
Must
(
template
.
New
(
"Makefile"
)
.
Parse
(
`
include $(GOROOT)/src/Make.inc
TARG={{.Targ}}
...
...
@@ -172,4 +172,4 @@ GCIMPORTS={{range .Imports}}-I "{{.}}" {{end}}
LDIMPORTS={{range .Imports}}-L "{{.}}" {{end}}
include $(GOROOT)/src/Make.{{.Type}}
`
)
`
)
)
src/pkg/rpc/debug.go
View file @
33a4da89
...
...
@@ -36,7 +36,7 @@ const debugText = `<html>
</body>
</html>`
var
debug
=
template
.
New
(
"RPC debug"
)
.
MustParse
(
debugText
)
var
debug
=
template
.
Must
(
template
.
New
(
"RPC debug"
)
.
Parse
(
debugText
)
)
type
debugMethod
struct
{
Type
*
methodType
...
...
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