adds a check for running in test mode without db connection (#71)
* feat(mongo): Adds Distinct, CountDocuments and Aggregate methods to mock their outputs.
* fix(keploy): adds a delay in between capture and denoise calls to keploy server
delay is necessary to capture the noise fields of response accurately
* fix(kmongo): adds a check for nil pointer to prevent crash in find, findone mocked method
refactors kmongo code to improve maintainence #63
* feat(kmux): adds a middleware function for gorilla/mux multiplexer #66
* fix(khttpClient): adds an interceptor for http client to mock the outputs of external http calls
* docs: fixed typo in sql driver's example
* fix(khttpClient): register types to gob and fixes UnmarshalBinay method of ReadCloser to decode gcp response
in UnmarshalBinary method, the b byte array contents are copied to a temp byte array to prevent alteration in the given parameter b byte array
* docs(gcp): adds an example in readme for a gcp compute
* fix(ksql): run the mocked outputs of sql queries when database is down #70
* fix(ksql): keploy sql driver methods returns the sql/driver errors instead of KError.Err
This is done because sql package compares errors by using == or errors.Is so, errors should be same instances.
Co-authored-by: Ritik Jain <[email protected]>