articleDto

package
v0.0.0-...-6a52fcc Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateArticleRequestDto

type CreateArticleRequestDto struct {
	Name        string `json:"name"`
	Description string `json:"desc"`
}

func (*CreateArticleRequestDto) ValidateCreateArticleDto

func (caDto *CreateArticleRequestDto) ValidateCreateArticleDto() error

type CreateArticleResponseDto

type CreateArticleResponseDto struct {
	ID          uuid.UUID `json:"id"`
	Name        string    `json:"name"`
	Description string    `json:"desc"`
}

Jump to

Keyboard shortcuts

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