How can I implement feature toggles/functionality toggles in my CI/CD?

I am writing some micro services, which togehter offer several functionalities. What is a good way to create CI/CD for them, in Go, that also offers feature toggles (I can easily decide what functionality get deployed or not) ?

What is the Go way of doing this ?

You can use build tags: https://golang.org/pkg/go/build/#hdr-Build_Constraints

Or something more traditional like gating on command line flags or environment variables.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.