Groups
Groups
Sign in
Groups
Groups
golang-nuts
Conversations
About
Send feedback
Help
log.Println logging duplicate
51 views
Skip to first unread message
ali oygur
unread,
Apr 22, 2015, 9:10:45 AM
4/22/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golan...@googlegroups.com
hi everybody,
i am new in go lang
there is my
code
i run as "go run test.go" then i do a request to
http://localhost:8001
.
but i see twice log record.
➜ test go run test.go
2015/04/22 16:01:36 indexHandler
2015/04/22 16:01:36 indexHandler
it should be one record. what is the problem ?
Jan Mercl
unread,
Apr 22, 2015, 9:32:20 AM
4/22/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golan...@googlegroups.com
> On Wed, Apr 22, 2015 at 3:10 PM ali oygur <
alio...@gmail.com
> wrote:
Your route "/" catches all and your browser wants the site's favicon.
Try logging the request URL.
-j
Reply all
Reply to author
Forward
0 new messages