You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add User-Agent header with SDK version (#181)
* feat: add User-Agent header with SDK version
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
* don't generate eval context
* fix version when used as dep
* fixup
* fixup; test
0 commit comments