Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReplaceData ¶
func ReplaceData(requestData map[string]interface{}, responseData map[string]interface{}) map[string]interface{}
ReplaceData takes a generated response and replaces values in it that share a name and type of parameters that were sent in with the request.
This is designed to have the effect of making returned fixtures more realistic while also staying a simple heuristic that doesn't require very much maintenance.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.