code: func New(value interface{}) *Resource {
  	var (
  		name = utils.HumanizeString(utils.ModelType(value).Name())
  		res  = &Resource{Value: value, Name: name}
  	)
  
  	res.FindOneHandler = res.findOneHandler
  	res.FindManyHandler = res.findManyHandler
  	res.SaveHandler = res.saveHandler
  	res.DeleteHandler = res.deleteHandler
  	res.SetPrimaryFields()
  	return res
  }
docs: // New initialize qor resource