package
module
Version:
v0.0.0-...-510eeb4
Opens a new window with list of versions in this module.
Published: Sep 4, 2020
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Slug
Slug package is an extension for qor. It provides an easy way to create a pretty URL for your model.
Documentation
https://doc.getqor.com/plugins/slug.html
License
Released under the MIT License.
Documentation
¶
type Slug struct {
Slug string
}
Slug is a scanner, could be used as field type, then this field could be used as slug field
ConfigureQorMeta configure slug for qor admin
func (slug *Slug) Scan(value interface{}) error
Scan scan value into Slug
Source Files
¶
Click to show internal directories.
Click to hide internal directories.