adsa-cms: github.com/mmanjoura/adsa-cms/slug Index | Files

package slug

import "github.com/mmanjoura/adsa-cms/slug"

Index

Package Files

slug.go

type Slug Uses

type Slug struct {
    Slug string
}

Slug is a scanner, could be used as field type, then this field could be used as slug field

func (Slug) ConfigureQorMeta Uses

func (Slug) ConfigureQorMeta(meta resource.Metaor)

ConfigureQorMeta configure slug for qor admin

func (*Slug) Scan Uses

func (slug *Slug) Scan(value interface{}) error

Scan scan value into Slug

func (Slug) Value Uses

func (slug Slug) Value() (driver.Value, error)

Value get slug's Value

Package slug imports 7 packages (graph) and is imported by 1 packages. Updated 2017-06-20. Refresh now. Tools for package owners.