service

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 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 Service

type Service struct {
	DB *gorm.DB
}

func New

func New(db *gorm.DB) *Service

func (*Service) FindRecordBy

func (s *Service) FindRecordBy(q *query.Record) []*model.Record

func (*Service) FindStationBy

func (s *Service) FindStationBy(q *query.Station) []*model.Station

Jump to

Keyboard shortcuts

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