Sergei Makarov

Results 2 issues of Sergei Makarov

Hi! Someone asked in [#255](https://github.com/pressly/goose/issues/225#issuecomment-1134717767) about having function for getting migration statuses. So if you want to have this func we can discuss it, because I have some thoughts additionally...

Hello! 👏 This PR fixes #19. Also I've made several changes in the `getClosestN` method in order to reduce allocations.