model

package
v0.0.0-...-bfeb8cb Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Car

type Car struct {
	RegistrationNumber string `db:"registration_number" json:"regNumber"`
	Mark               string `db:"mark" json:"mark"`
	Model              string `db:"model" json:"model"`
	Year               int    `db:"year" json:"year,omitempty"`
	OwnerName          string `db:"owner_name" json:"ownerName"`
	OwnerSurname       string `db:"owner_surname" json:"ownerSurname"`
}

type Owner

type Owner struct {
	Name       string `json:"name"`
	Surname    string `json:"surname"`
	Patronymic string `json:"patronymic,omitempty"`
}

Jump to

Keyboard shortcuts

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