expr

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: May 2, 2026 License: BSD-3-Clause Imports: 12 Imported by: 2 modules, 1 package

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

This section is empty.

Variables

This section is empty.

Functions

func ExpandGlobals

func ExpandGlobals(k string) any

func ExpandURL

func ExpandURL(u *url.URL) expander.Interface

Types

type HTTPMethod

type HTTPMethod string

HTTPMethod provides a representation of an HTTP method that supports terminal formatting

func (HTTPMethod) Color

func (m HTTPMethod) Color() string

func (HTTPMethod) Format

func (m HTTPMethod) Format(f fmt.State, verb rune)

func (HTTPMethod) String

func (m HTTPMethod) String() string

type HTTPStatus

type HTTPStatus int

HTTPStatus provides a representation of an HTTP status code that supports terminal formatting

func (HTTPStatus) Code

func (s HTTPStatus) Code() int

func (HTTPStatus) Color

func (s HTTPStatus) Color() string

func (HTTPStatus) Format

func (s HTTPStatus) Format(f fmt.State, verb rune)

func (HTTPStatus) Message

func (s HTTPStatus) Message() string

func (HTTPStatus) String

func (s HTTPStatus) String() string

Jump to

Keyboard shortcuts

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