The parseRequest() function is getting pretty long, and then the struct itself seems pretty complex, with many dependencies. It would be helpful to try to split up this functionality in some way to help decrease the complexity and make it easier to maintain.
https://github.com/xmidt-org/svalinn/blob/0f38970ab188c2fdee7265fbd24db51bd5d44db5/requestParser/requestParser.go#L187 https://github.com/xmidt-org/svalinn/blob/0f38970ab188c2fdee7265fbd24db51bd5d44db5/requestParser/requestParser.go#L64
The
parseRequest()
function is getting pretty long, and then the struct itself seems pretty complex, with many dependencies. It would be helpful to try to split up this functionality in some way to help decrease the complexity and make it easier to maintain.