GoRTP icon indicating copy to clipboard operation
GoRTP copied to clipboard

Resolving build errors

Open kellydunn opened this issue 11 years ago • 1 comments

Hello there!

Thanks for providing a golang RTP / RTCP library~ I'm excited to use it in a few side projects I've been meaning to start for some time.

Unfortunately, when attempting to build or import your library as documented in the Readme file, I would experience some errors that would prevent me using your library:

./transportUDP.go:46: too few values in struct initializer
./transportUDP.go:47: too few values in struct initializer
./transportUDP.go:128: too few values in struct initializer
./transportUDP.go:133: too few values in struct initializer

This pull requests introduces two commits:

  • One that formats the go code using the go fmt utility
  • Another that explicitly itemizes the fields when attempting to create a net.UDPAddr struct.

kellydunn avatar Jul 15 '13 19:07 kellydunn

I have meet this error when I build GoRTP in go 1.1.2. Why don't resolve it?

Icedroid avatar Nov 05 '13 09:11 Icedroid