-
Notifications
You must be signed in to change notification settings - Fork 18.3k
Closed
Labels
Description
by jackie.space:
What steps will reproduce the problem? 1. go get code.google.com/p/go.talks on windows 2. go get github.com/nf/go11 3. cd $GOPATH/src/github.com/nf/go11; present 4. Open web browser and visit http://127.0.0.1:3999/ What is the expected output? not a error message What do you see instead? unexpected header line: "23 April 2013\r" Please provide any additional information below. I looked at the source code, seems here: https://code.google.com/p/go/source/browse/pkg/present/parse.go?repo=talks#178 it only splits the lines on "\n". Should we trim the "\r"? or just use strings.Trim? or read the lines properly, e.g. use bufio.Scanner?