code: func (b Base) GetURL(option *Option, scope *gorm.Scope, field *gorm.Field, templater URLTemplater) string {
  	if path := templater.GetURLTemplate(option); path != "" {
  		tmpl := template.New("").Funcs(getFuncMap(scope, field, b.GetFileName()))
  		if tmpl, err := tmpl.Parse(path); err == nil {
  			var result = bytes.NewBufferString("")
  			if err := tmpl.Execute(result, scope.Value); err == nil {
  				return result.String()
  			}
  		}
  	}
  	return ""
  }
docs: // GetURL get default URL for a model based on its options