web

package
v0.0.0-...-c3cdff1 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2022 License: Unlicense Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TodosCreateRequest

type TodosCreateRequest struct {
	ActivityGroupId int    `json:"activity_group_id" validate:"required"`
	Title           string `json:"title" validate:"required"`
}

type TodosResponse

type TodosResponse struct {
	ID              int          `json:"id"`
	ActivityGroupId int          `json:"activity_group_id"`
	Title           string       `json:"title"`
	IsActive        bool         `json:"is_active"`
	Priority        string       `json:"priority"`
	CreatedAt       nulls.String `json:"created_at"`
	UpdatedAt       nulls.String `json:"updated_at"`
	DeletedAt       nulls.String `json:"deleted_at"`
}

type TodosUpdateRequest

type TodosUpdateRequest struct {
	ID       int    `validate:"required" json:"id"`
	Title    string `json:"title"`
	IsActive bool   `json:"is_active"`
}

Jump to

Keyboard shortcuts

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