transport

package
v0.0.0-...-438df0e Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Inputs

type Inputs struct {
	URL         string `validate:"required,url" query:"url"`
	Title       string `validate:"required" query:"title"`
	Description string `query:"description"`
	Image       string `query:"image"`
}

Inputs represents the data that is expected to be provided when adding a new entry to the reading list. The `query` struct tags are so this struct can be used in Fiber (github.com/gofiber/fiber/v2) applications and its (*ctx).QueryParser method

func (*Inputs) Validate

func (i *Inputs) Validate() error

Jump to

Keyboard shortcuts

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