Fix all linting errors

Disabled gocylco for now, need to use gometalinter to disable
conditionally. There are also a lot more linters we could use, but they
cause too many issues to start today.
This commit is contained in:
Sean DuBois
2018-07-21 11:53:21 -07:00
parent 03acd2b042
commit 13b02984e3
17 changed files with 23 additions and 54 deletions

View File

@@ -112,7 +112,6 @@ func (s *SessionDescription) Unmarshal(raw string) error {
return s.unmarshalOptionalAttributes(scanner)
}
// nolint: gocyclo
func (s *SessionDescription) unmarshalOptionalAttributes(scanner *bufio.Scanner) error {
orderedSessionAttributes := []*attributeStatus{
{value: "v"},