types

package
v1.1.0 Latest Latest
Warning

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

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

type Category struct {
	ID   uint   `json:"id" example:"1"`
	Name string `json:"name" example:"lorem impsum"`
}

type Fasting

type Fasting struct {
	ID         uint   `json:"id" example:"1"`
	CategoryID uint   `json:"category_id" example:"1"`
	TypeID     uint   `json:"type_id" example:"1"`
	Date       string `json:"date" example:"2020-01-01"`
	Year       uint   `json:"year" example:"2020"`
	Month      uint   `json:"month" example:"1"`
	Day        uint   `json:"day" example:"1"`

	Category Category `json:"category"`
	Type     Type     `json:"type"`
}

type Source

type Source struct {
	ID  uint   `json:"id" example:"1"`
	Url string `json:"url" example:"https://granitebps.com"`
}

type Type

type Type struct {
	ID          uint   `json:"id" example:"1"`
	Name        string `json:"name" example:"lorem"`
	Description string `json:"description" example:"Lorem ipsum dolor sit amet, consectetur adipiscing elit."`
}

Jump to

Keyboard shortcuts

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