README update and go fmt

This commit is contained in:
Serene Han 2016-01-14 16:30:51 -08:00
parent fa9f58c9ab
commit fb304c673c
2 changed files with 33 additions and 24 deletions

View file

@ -50,6 +50,7 @@ type webRTCConn struct {
dc *data.Channel
recvPipe *io.PipeReader
}
var webrtcRemote *webRTCConn
func (c *webRTCConn) Read(b []byte) (int, error) {
@ -163,7 +164,7 @@ func dialWebRTC(config *webrtc.Configuration) (*webRTCConn, error) {
return nil, err
case offer := <-blobChan:
log.Printf("----------------")
fmt.Fprintln(logFile, "\n" + offer + "\n")
fmt.Fprintln(logFile, "\n"+offer+"\n")
log.Printf("----------------")
}