recoverycode

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package recoverycode contains an implementation to generate random lines of code.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(option ...Option) app.Code

New creates a new instance of the app.Code object.

Types

type Option

type Option func(*code)

Option for building code struct.

func RandInt

func RandInt(randInt func(max int) int) Option

RandInt option for sets generator random int.

Jump to

Keyboard shortcuts

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