count

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2023 License: MIT Imports: 2 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Count

type Count struct {
	// Search is the search query.
	Search string `json:"search" query:"search" param:"search" form:"search" validate:"required"`
}

Count params.

SEE: https://echo.labstack.com/guide/binding/#data-sources on data binding.

func New

func New() (*Count, error)

New creates a new param.

func (*Count) Process

func (c *Count) Process() error

Process the `default` -> `env` -> `validate` struct's fields tags.

NOTE: This function just for testing purpose.

Jump to

Keyboard shortcuts

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