util

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCtxVal

func GetCtxVal(req *http.Request, ck CtxKey) interface{}

func InitValidator added in v0.0.6

func InitValidator()

InitValidator is used to initialize the validator. Call this funtion before using any validator.

func SetCtxKeyVal

func SetCtxKeyVal(r *http.Request, ck CtxKey, val interface{}) *http.Request

func StrAppend added in v0.0.6

func StrAppend(strs ...string) string

Types

type CtxKey

type CtxKey string

Jump to

Keyboard shortcuts

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