vcgen

package
v0.0.0-...-5db2450 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator struct {
	Length  uint16 `json:"length"` // ;) api...
	Count   uint16 `json:"count"`
	Charset string `json:"charset"`
	Prefix  string `json:"prefix"`
	Postfix string `json:"postfix"`
	Pattern string `json:"pattern"`
}

Generator request struct

func New

func New(i *Generator) *Generator

New generator config

func (*Generator) Run

func (g *Generator) Run() (*[]string, error)

Run voucher code generator

Jump to

Keyboard shortcuts

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