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

package location

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

Index

Package Files

location.go

type Location Uses

type Location struct {
    Address   string
    City      string
    Region    string
    Country   string
    Zip       string
    Latitude  float64
    Longitude float64
}

Location is a struct, you could embedded it into your model to get the Location feature for your model

func (*Location) ConfigureQorResource Uses

func (*Location) ConfigureQorResource(res resource.Resourcer)

ConfigureQorResource configure qor locale for Qor Admin

func (*Location) GetLocation Uses

func (location *Location) GetLocation() *Location

GetLocation get location from your model

Package location imports 6 packages (graph) and is imported by 1 packages. Updated 2017-06-08. Refresh now. Tools for package owners.