Sioro-Neoku / go-peerflix

Go Peerflix
MIT License
470 stars 119 forks source link

Minor cleanup: #5

Closed ShawnMilo closed 8 years ago

ShawnMilo commented 8 years ago

Use same value for currentProgress throughout Client.Render, since it may be changing.

Remove variable for len(t.Conns), since it's only used once.

Made percentage a method since it's being used more than once.

Removed unnecessary true in infinite for loop in main.

Sioro-Neoku commented 8 years ago

Looks great, thank you!