polygon

package
v0.0.0-...-fb5fdcc Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewQuery

func NewQuery(query *ent.CitySpliderAreaPolygonQuery) queryOption

Types

type PolygonRepo

type PolygonRepo struct {
	// contains filtered or unexported fields
}

func NewPolygonRepo

func NewPolygonRepo(
	d *data.Data,
) *PolygonRepo

func (*PolygonRepo) Count

func (r *PolygonRepo) Count(ctx context.Context, queries ...bizareapolygon.Query) int

func (*PolygonRepo) FindList

func (r *PolygonRepo) FindList(ctx context.Context, queries ...bizareapolygon.Query) ([]*bizareapolygon.Polygon, error)

func (*PolygonRepo) FindOne

func (r *PolygonRepo) FindOne(ctx context.Context, queries ...bizareapolygon.Query) (*bizareapolygon.Polygon, error)

func (*PolygonRepo) Remove

func (r *PolygonRepo) Remove(ctx context.Context, queries ...bizareapolygon.Query) error

func (*PolygonRepo) Save

func (*PolygonRepo) Truncate

func (r *PolygonRepo) Truncate(ctx context.Context) error

Jump to

Keyboard shortcuts

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