happykit-go-client

command module
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2023 License: MIT Imports: 2 Imported by: 0

README

HappyKit Go Client (WIP)

Tests GoDoc codecov

A simple client library that interaces with the HappyKit feature flagging service

Install

$ go get github.com/gndimitro/happykit-go-client

Quick Start

// 1. Import the library
// 2. Initialize the client
// 3. Call isEnabled where needed

import (
	"fmt"

	"github.com/gndimitro/happykit-go-client/HappyKitClient"
)

func main() {
	HappyKitClient.Initialize("flags_pub_development_XXXXXXX")

	if HappyKitClient.IsEnabled("bool") {
		fmt.Println("Bool is enabled")
	}
}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL