filters

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PublishDate = "publish_date"
)

Variables

This section is empty.

Functions

func CreateBundlefilters

func CreateBundlefilters(r *http.Request) (*BundleFilters, *QueryParamParseError)

Creates BundleFilters from the query parameters in the request

Types

type BundleFilters

type BundleFilters struct {
	PublishDate *time.Time
}

Bundle filter option

type QueryParamParseError

type QueryParamParseError struct {
	Error  error
	Source *models.Source
}

func CreateQueryParamParseError

func CreateQueryParamParseError(err error, paramName string) *QueryParamParseError

Jump to

Keyboard shortcuts

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