func WithLimit(limit int) HistoryOption {
	return func(opts *HistoryOptions) {
		opts.Limit = limit
	}
}
// WithLimit allows to set limit.
WithLimit allows to set limit.
// WithLimit allows to set limit .
func WithLimit(limit int) HistoryOption {
	return func(opts *HistoryOptions) {
		opts.Limit = limit
	}
}
func WithLimit ( limit int ) HistoryOption { return func ( opts * HistoryOptions ) { opts . Limit = limit } }
WithLimit allows to set limit.
WithLimit allows to set limit .