Example #1
0
func (self *leveldbProvider) createLevelDbOptions(typeName string) *opt.Options {
	comparer := self.typeName2Comparer[typeName]
	if comparer == nil {
		return nil
	} else {
		options := new(opt.Options)
		options.Comparer = comparer
		return options
	}
}