Mongodb Pagination for official mongodb/mongo-go-driver package which supports both normal queries and Aggregation pipelines.