data

package
v0.0.0-...-a05456e Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarschalTrip

func MarschalTrip(trip models.Trip) (*types.Trip, error)

func MarschalTrips

func MarschalTrips(trips models.TripSlice) (types.GetTripsResponse, error)

Types

type FixtureMap

type FixtureMap struct{}

Mind the declaration order! The fields get upserted exactly in the order they are declared.

func Fixtures

func Fixtures() FixtureMap

type Upsertable

type Upsertable interface {
	Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
}

func Upserts

func Upserts() []Upsertable

Jump to

Keyboard shortcuts

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