How do I maintain a large ageing codebase?

So, this code base is 2-3 year old by now.

Are there any tools which I can run on this codebase and figure out what got deprecated? Which part needs immediate attention and need to be fixed to prevent future breakage?

LOC: 10,000 checks for use of deprecated functions, variables, constants, and fields. is also helpful for finding problem areas as it runs a bunch of linters.

Another thing to watch for is making sure you have consistent access to the code’s dependencies. A practical solution for now is to vendor them with This will take care of you short term and will have a clean upgrade path when versioning is added to the go tools.


This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.