city

package
v1.19.25 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type City

type City struct {
	ID    primitive.ObjectID        `bson:"_id,omitempty"`
	Title htmlfinder.NormalCaseCity `bson:"t,omitempty"`
	Slug  string                    `bson:"s,omitempty"`
}

func (*City) GetOrCreate

func (c *City) GetOrCreate(ctx context.Context, title htmlfinder.NormalCaseCity) (doc City, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL