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
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
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
make.go
src/cmd/goinstall/make.go
+2
-2
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