package
0.0.0-20230101183712-202847b4b89b
Repository: https://github.com/corestoreio/csfw.git
Documentation: pkg.go.dev
# Functions
MustNewDetail same as NewDetail but panics on error.
NewDetail returns a new instance of a Detail problem.
WithCause adds a detail as a new cause.
WithExtensionInt adds an int to the Extension field.
WithExtensionMapString adds a string only map to the Extension field.
WithExtensionMapStringSlice adds a special map to the Extension field.
WithExtensionString adds one or more key/value pairs to the Extension field.
WithExtensionUint adds an uint to the Extension field.
# Constants
DefaultURL is the default url to use for problem types.
MediaType specifies the default media type for a Detail response.
MediaTypeXML specifies the XML variant on the Detail Media type.
# Type aliases
Option applies an option to the Detail object.