Skip to content

feat: add Golang SDK#20

Draft
thebongy wants to merge 3 commits into
cloudflare:mainfrom
thebongy:add-go-sdk
Draft

feat: add Golang SDK#20
thebongy wants to merge 3 commits into
cloudflare:mainfrom
thebongy:add-go-sdk

Conversation

@thebongy

Copy link
Copy Markdown

Summary

Adds a Go OpenFeature provider SDK for Cloudflare Flagship HTTP evaluation.

What changed

  • Added sdks/go as a Go module with a Flagship HTTP client, OpenFeature server provider, context serialization, typed resolution, lifecycle events, logging, and telemetry hooks.
  • Added Go examples and README documentation.
  • Added parity-style Go tests covering client behavior, provider lifecycle, typed evaluation, error mapping, context handling, auth/header precedence, retries, OpenFeature integration, and hooks.
  • Wired Go format, vet, and test jobs into PR CI.
  • Added a changeset for the new SDK.

Validation

  • gofmt
  • go vet ./...
  • go test ./...
  • pnpm run check
  • pnpm run changeset:validate

Note: local Go validation used a temporary Go toolchain under /tmp/codex-go-toolchain because go was not installed on PATH.

@pkg-pr-new

pkg-pr-new Bot commented May 21, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@cloudflare/flagship@20

commit: 55a31e4

@thebongy thebongy force-pushed the add-go-sdk branch 2 times, most recently from 62774da to fc7f308 Compare June 1, 2026 12:40
@akshitsinha akshitsinha changed the title [codex] add Go SDK feat: add Golang SDK Jun 18, 2026
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.

2 participants