Skip to content

Tags: wego/pkg

Tags

errors/v0.2.6

Toggle errors/v0.2.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Enhance Sentry error fingerprinting (#179)

strings/v0.1.2

Toggle strings/v0.1.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
strings-pointervalue-method (#193)

logger/v0.3.7

Toggle logger/v0.3.7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add support for array string masking with [] pattern (#192)

* logger: support array string masking with []

Enable masking arrays containing string values using the pattern
["property", "[]"].

Refactor maskArrayRecursive to use switch statement for better
readability and add maskAllStringValues helper function.

* logger: refactor maskArrayRecursive readability

Extract switch case logic into focused single-responsibility
functions with descriptive names and godoc comments. Replace
complex boolean conditions with self-documenting variables.

Improves maintainability by separating concerns and making each
function handle one specific JSON key pattern.

* logger: simplify array masking logic

Remove maskArrayContents function which duplicated logic in
maskAllStringValues. Simplify maskAllStringValues to only mask
strings and ignore non-string items rather than recursively
processing nested arrays.

This eliminates unnecessary complexity since the ["property", "[]"]
pattern should only mask strings within the target array.

errors/v0.2.5

Toggle errors/v0.2.5's commit message

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
Add context handling (#191)

* Add comprehensive context handling tests

- Add table-driven tests for Error context functionality
- Test context propagation, overrides, and edge cases
- Verify child context cleanup after propagation

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Add tests for context parameter in New function

- Add table-driven tests for context.Context parameter support in New()
- Test context propagation with child errors via New parameter
- Test mixed usage of New parameter and WithContext method
- Verify edge cases like empty contexts

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* add more tc.

---------

Co-authored-by: mysqto <my@mysq.to>
Co-authored-by: Claude <noreply@anthropic.com>

collection/v0.1.13

Toggle collection/v0.1.13's commit message

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
Add context handling (#191)

* Add comprehensive context handling tests

- Add table-driven tests for Error context functionality
- Test context propagation, overrides, and edge cases
- Verify child context cleanup after propagation

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Add tests for context parameter in New function

- Add table-driven tests for context.Context parameter support in New()
- Test context propagation with child errors via New parameter
- Test mixed usage of New parameter and WithContext method
- Verify edge cases like empty contexts

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* add more tc.

---------

Co-authored-by: mysqto <my@mysq.to>
Co-authored-by: Claude <noreply@anthropic.com>

pointer/v0.1.3

Toggle pointer/v0.1.3's commit message

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
Add `UpdateSelective` (#189)

Co-authored-by: mysqto <my@mysq.to>

collection/v0.1.12

Toggle collection/v0.1.12's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
PAY-1863-vc-route-caching-and-admin (#183)

* PAY-1863-vc-route-caching-and-admin

- added Intersect function in collection.go
- added tests

https://wegomushi.atlassian.net/browse/PAY-1863

* PAY-1863-vc-route-caching-and-admin

- upgraded go version to 1.24

logger/v0.3.6

Toggle logger/v0.3.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
PAY-1837-payfast-webhook (#184)

* PAY-1837-payfast-webhook

- added mask and redact for URL query params
- added tests
- upgraded go version to 1.24

https://wegomushi.atlassian.net/browse/PAY-1837

* PAY-1837-payfast-webhook

- fixed lint

* PAY-1837-payfast-webhook

- refactor to directly accept query params instead of url

* PAY-1837-payfast-webhook

- fixed lint

* PAY-1837-payfast-webhook

- cleanup

rand/v0.1.6

Toggle rand/v0.1.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
add `random` selector (#178)

* add `random` selector

* update

* fix action

* fix lint

* use `runtime.rand` instead of `SplitMix64`

to/v0.1.2

Toggle to/v0.1.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
update dependencies (#176)

* update dependencies

* update

* fix test case

* update bind