Linter fixes

Disable funlen and some fixes

Co-authored-by: Sean DuBois <sean@siobud.com>
This commit is contained in:
Hugo Arregui
2019-09-10 21:48:14 -03:00
committed by Sean DuBois
parent a595db7fcc
commit 6997cc792c
14 changed files with 4 additions and 24 deletions

View File

@@ -111,7 +111,6 @@ func main() {
fmt.Println("Ctrl+C the remote client to stop the demo")
} else if connectionState == webrtc.ICEConnectionStateFailed ||
connectionState == webrtc.ICEConnectionStateDisconnected {
closeErr := oggFile.Close()
if closeErr != nil {
panic(closeErr)
@@ -120,7 +119,6 @@ func main() {
closeErr = ivfFile.Close()
if closeErr != nil {
panic(closeErr)
}
fmt.Println("Done writing media files")