buger / goreplay

GoReplay is an open-source tool for capturing and replaying live HTTP traffic into a test environment in order to continuously test your system with real data. It can be used to increase confidence in code deployments, configuration changes and infrastructure changes.
https://goreplay.org
Other
18.46k stars 9 forks source link

Refactor using packages #1155

Open buger opened 1 year ago

buger commented 1 year ago

All code moved to packages, specifically to pkg folder. In future it may need more ballance to transfer some of them to internal folder.

In addition, added structured logger.

buger commented 1 year ago

@DimaGolomozy I decided to finish this idea :)

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 45 Code Smells

No Coverage information No Coverage information
3.1% 3.1% Duplication

DimaGolomozy commented 1 year ago

what do you think about passing context.Context? that way a global context could stop the gor (but this in a different PR)

sonarcloud[bot] commented 1 year ago

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot E 1 Security Hotspot
Code Smell A 45 Code Smells

No Coverage information No Coverage information
3.1% 3.1% Duplication