filters

package
v1.29.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: MIT Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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