qs

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseFloat

func ParseFloat(str string) (float64, bool)

ParseFloat parse float value from query string.

func ParseInt

func ParseInt(str string) (int64, bool)

ParseInt parse integer value from query string.

func ParseTime

func ParseTime(str string, args ...string) (time.Time, bool)

ParseTime parse time value from query string. Value that can be parse are:

  • "now"
  • Unix Epoch
  • Time formatted string. Format can be optionally set in args, otherwise it will parse to time.RFC3339 layout

Types

This section is empty.

Jump to

Keyboard shortcuts

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