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
6950491b
Commit
6950491b
authored
Feb 18, 2009
by
Rob Pike
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drop trailing slashes - missed comment from last review
TBR=rsc OCL=25135 CL=25135
parent
03d6909f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
triv.go
src/lib/http/triv.go
+2
-2
No files found.
src/lib/http/triv.go
View file @
6950491b
...
...
@@ -87,8 +87,8 @@ func main() {
flag
.
Parse
();
http
.
Handle
(
"/counter"
,
new
(
Counter
));
http
.
Handle
(
"/go/"
,
http
.
HandlerFunc
(
FileServer
));
http
.
Handle
(
"/flags
/
"
,
http
.
HandlerFunc
(
FlagServer
));
http
.
Handle
(
"/args
/
"
,
http
.
HandlerFunc
(
ArgServer
));
http
.
Handle
(
"/flags"
,
http
.
HandlerFunc
(
FlagServer
));
http
.
Handle
(
"/args"
,
http
.
HandlerFunc
(
ArgServer
));
http
.
Handle
(
"/go/hello"
,
http
.
HandlerFunc
(
HelloServer
));
http
.
Handle
(
"/chan"
,
ChanCreate
());
err
:=
http
.
ListenAndServe
(
":12345"
,
nil
);
...
...
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