Documentation
¶
Index ¶
Constants ¶
View Source
const ShowErrorsContextKey = ContextKey("show_errors")
Variables ¶
This section is empty.
Functions ¶
func GetContextValue ¶
func GetContextValue[T any](r *http.Request, key ContextKey) *T
func SetContextValue ¶
Types ¶
type ContextKey ¶
type ContextKey string
Click to show internal directories.
Click to hide internal directories.