bradleyfalzon / gopherci

GopherCI was a project to help you maintain high-quality Go projects, by checking each GitHub Pull Request, for backward incompatible changes, and a suite of other third party static analysis tools.
https://gopherci.io
BSD 2-Clause "Simplified" License
102 stars 13 forks source link

Refactor analyser to take a cloner #93

Closed bradleyfalzon closed 7 years ago

bradleyfalzon commented 7 years ago

This change refactors the internal/analyser.Analyser function to take a internal/analyser.Cloner and pushes the conditional to the caller to provide a correct cloner.