open-feature / open-feature/cli
Go generator template: provide ability to perform non-error flag evaluation
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 63
- Forks
- 22
- Avg merge
- 1h 27m
- Merged PRs (30d)
- 19
Description
The Go SDK provides three methods for flag evaluation for each type:
- https://pkg.go.dev/github.com/open-feature/go-sdk@v1.16.0/openfeature#Client.Boolean
- https://pkg.go.dev/github.com/open-feature/go-sdk@v1.16.0/openfeature#Client.BooleanValue
- https://pkg.go.dev/github.com/open-feature/go-sdk@v1.16.0/openfeature#Client.BooleanValueDetails
The CLI should support all three.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with internal/generators/golang/golang.tmpl at the linked lines and compare its generated flag-evaluation methods with the Go SDK's Boolean, BooleanValue, and BooleanValueDetails methods. Done means the Go generator supports all three evaluation forms for each flag type.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 58/100