fizzbuzz

package module
v0.0.0-...-8e441af Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2021 License: MIT Imports: 0 Imported by: 0

README

fizzbuzz

demonstration package

Documentation

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fizzbuzz

func Fizzbuzz(x int) (string, bool)

Fizzbuzz takes a number of args, div by 3, prints fizz div by 5 prints buzz

Example
package main

import (
	"fmt"

	"github.com/rajeev1976/fizzbuzz"
)

func main() {
	result, _ := fizzbuzz.Fizzbuzz(3)
	fmt.Println(result)
}
Output:

Types

This section is empty.

Jump to

Keyboard shortcuts

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