Skip to content

Rewrite - #37

Open
muratmirgun wants to merge 2 commits into
devfrom
rewrite
Open

Rewrite#37
muratmirgun wants to merge 2 commits into
devfrom
rewrite

Conversation

@muratmirgun

Copy link
Copy Markdown
Member

What kind of change does this PR introduce?

Bug fix, feature, docs update, ...

What is the current behavior?

Please link any relevant issues here.

What is the new behavior?

Feel free to include screenshots if it includes visual changes.

Additional context

Add any other context or screenshots.

- Implemented `AnalyticsClient` for managing analytics buckets, including methods for creating, listing, and deleting buckets.
- Added `BucketClient` for general bucket management operations.
- Created comprehensive unit tests for both clients to ensure functionality.
- Updated README to reflect new client structure and usage examples.
- Bumped Go version requirement to 1.22.

Signed-off-by: Murat Mirgün Ercan <muratmirgunercan225@gmail.com>
…n client tests

- Introduced a new function `clientInfoHeader` to generate the structured `X-Client-Info` header with platform and runtime details.
- Added unit tests to verify the correct setting of the structured header and the preservation of user-supplied `X-Client-Info` header.
- Updated the `NewClient` function to utilize the new header generation logic.

Signed-off-by: [Your Name] <your.email@example.com>

Signed-off-by: Murat Mirgün Ercan <muratmirgunercan225@gmail.com>
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