update

package
v0.0.0-...-22a6502 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2022 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(ps pbPost.PostServiceClient) *handler

Types

type DTO

type DTO struct {
	UUID    string `json:"uuid,omitempty"`
	Title   string `json:"title,omitempty"`
	Content string `json:"content,omitempty"`
}

func (DTO) EmptyBody

func (a DTO) EmptyBody() bool

func (DTO) Validate

func (a DTO) Validate() error

Jump to

Keyboard shortcuts

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