Skip to content

Conversation

@gagantrivedi
Copy link
Member

Implements #175

  • Add getUserAgent() function that uses runtime/debug.ReadBuildInfo() to detect SDK version
  • User-Agent format: flagsmith-go-sdk/ or flagsmith-go-sdk/unknown in development
  • Added unit and integration tests
  • Exported getUserAgent() via export_test.go for testing purposes

Implements #175

- Add getUserAgent() function that uses runtime/debug.ReadBuildInfo() to detect SDK version
- User-Agent format: flagsmith-go-sdk/<version> or flagsmith-go-sdk/unknown in development
- Added comprehensive unit and integration tests
- Exported getUserAgent() via export_test.go for testing purposes
@gagantrivedi gagantrivedi requested a review from a team as a code owner October 14, 2025 07:10
@gagantrivedi gagantrivedi requested review from Zaimwa9 and removed request for a team October 14, 2025 07:10
Zaimwa9
Zaimwa9 previously approved these changes Oct 14, 2025
Copy link
Contributor

@Zaimwa9 Zaimwa9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

solid

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.

3 participants