package
0.0.2
Repository: https://github.com/rvflash/fizzbuzz.git
Documentation: pkg.go.dev

# README

API

GoDoc Go Report Card

The FizzBuzz API provides a Gin handler to catch requests to customize your own FizzBuzz. It returns the result as a JSON string.

This handler takes the following GET parameters:

parametersrequired?description
string1mandatoryall multiples of int1 are replaced by this string.
string2mandatoryall multiples of int2 are replaced by this string.
int1mandatoryfirst int value to use as multiple.
int2mandatorysecond int value to use as multiple.
limitoptionallist the numbers to return from 1 to the given value, default 0.

# Functions

Handler handles requests to customize your own FizzBuzz.
Mode ensures to manipulate a Gin's mode.

# Constants

DevEnv for development environment.
ProdEnv for production environment.
TestMode for test environment.