//
pkg.gl
Category
github.com/melonwool/go-zero
core
contextx
package
1.1.7
Repository:
https://github.com/melonwool/go-zero.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
4
Files
54 SLOC
#
Functions
For
For unmarshals ctx into v.
ShrinkDeadline
ShrinkDeadline returns a new Context with proper deadline base on the given ctx and timeout.
ValueOnlyFrom
ValueOnlyFrom takes all values from the given ctx, without deadline and error control.