Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor [Golang] [Package] Exporter (Reduce Gocyclo) #26

Merged
merged 1 commit into from
Dec 10, 2023

Conversation

H0llyW00dzZ
Copy link
Owner

  • [+] refactor(session.go): reorganize ConvertSessionsToCSV function for better readability and maintainability
  • [+] feat(session.go): add getCSVHeaders function to retrieve headers based on formatOption
  • [+] feat(session.go): add getWriteFunction function to retrieve write function based on formatOption
  • [+] feat(session.go): add writeInlineFormat function to write session data in inline format
  • [+] feat(session.go): add writePerLineFormat function to write session data with one message per line
  • [+] feat(session.go): add writeJSONFormat function to write session data with messages as a JSON string
  • [+] feat(session.go): add checkContextCancellation function to check if the context is cancelled

- [+] refactor(session.go): reorganize ConvertSessionsToCSV function for better readability and maintainability
- [+] feat(session.go): add getCSVHeaders function to retrieve headers based on formatOption
- [+] feat(session.go): add getWriteFunction function to retrieve write function based on formatOption
- [+] feat(session.go): add writeInlineFormat function to write session data in inline format
- [+] feat(session.go): add writePerLineFormat function to write session data with one message per line
- [+] feat(session.go): add writeJSONFormat function to write session data with messages as a JSON string
- [+] feat(session.go): add checkContextCancellation function to check if the context is cancelled
Copy link

CodeQL analysis is complete for PR #26

@H0llyW00dzZ H0llyW00dzZ merged commit b096f88 into master Dec 10, 2023
8 checks passed
@H0llyW00dzZ H0llyW00dzZ deleted the reduce_exporter branch December 10, 2023 02:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant