package
2.1.0-rc.2+incompatible
Repository: https://github.com/fredchenbj/pd.git
Documentation: pkg.go.dev

# Functions

DeferClose captures the error returned from closing (if an error occurs).
ParseUint64VarsField connects strconv.ParseUint with request variables It hardcodes the base to 10 and bitsize to 64 Any error returned will connect the requested field to the error via FieldError.
ReadJSON reads a JSON data from r and then closes it.

# Structs

FieldError connects an error to a particular field.
JSONError lets callers check for just one error type.