GithubHelp home page GithubHelp logo

00mjk / ff-golang-server-sdk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from harness/ff-golang-server-sdk

0.0 0.0 0.0 343 KB

Home Page: https://harness.io/products/feature-flags/

License: Apache License 2.0

Makefile 1.74% Go 97.90% Dockerfile 0.36%

ff-golang-server-sdk's Introduction

Before you Begin

Harness Feature Flags (FF) is a feature management solution that enables users to change the software’s functionality, without deploying new code. FF uses feature flags to hide code or behaviours without having to ship new versions of the software. A feature flag is like a powerful if statement.

For more information, see https://harness.io/products/feature-flags/

To read more, see https://ngdocs.harness.io/category/vjolt35atg-feature-flags

To sign up, https://app.harness.io/auth/#/signup/

Harness FFM Server-side SDK for Go

Go Report Card

FFM overview

FFM is feature flag management platform for helping teams to deliver better software and faster.

Supported GO versions

This version of FFM has been tested with GO 1.14

Install

go get github.com/wings-software/ff-client-sdk-go

Usage

First we need to import lib with harness alias import harness "github.com/wings-software/ff-client-sdk-go/pkg/api"

Next we create client instance for interaction with api client := harness.NewClient(sdkKey)

Target definition can be user, device, app etc.

target := dto.NewTargetBuilder("key").
 		Firstname("John").
 		Lastname("doe").
 		Email("[email protected]").
 		Country("USA").
 		Custom("height", 160).
 		Build()

Evaluating Feature Flag showFeature, err := client.BoolVariation(featureFlagKey, target, false)

ff-golang-server-sdk's People

Contributors

andrew-hayes avatar conormurray95 avatar davejohnston avatar enver-bisevac avatar enverbisevac avatar hannah-tang avatar jcox250 avatar meghamathur03 avatar milos85vasic avatar puneetsar avatar rushabh-harness avatar subiradhikari avatar tphoney avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.