query

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Record

type Record struct {
	Minute    int `validate:"gte=0" form:"minute" binding:""`
	StationID int `validate:"required,gt=0" form:"station"`
	Page      int `form:"page"`
	PageSize  int `form:"page_size"`
}

type Station

type Station struct {
	Name string `form:"name"`
	Addr string `form:"addr"`
	ID   int    `validate:"gte=0" form:"id"`
}

func (*Station) Scope

func (r *Station) Scope() func(*gorm.DB) *gorm.DB

Jump to

Keyboard shortcuts

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