I want to write a wrapper function for FindOptions in my dbobject code so that I can avoid importing package options
in my service code . Basically i'm trying to accomodate three func under one interface
SetSkip()
SetLimit()
SetSort()
so that i should be able to do something like Find().SetSkip().SetLimit() in a single line , is that doable ?
Also I want to know the usage of MergeFindOptions
func MergeFindOptions(opts ...*FindOptions) *FindOptions
Any examples will be of great help.