util

package
v0.0.0-...-49df15f Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

to create a random test cases

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RandomCurrency

func RandomCurrency() string

randomCurrency returns a random currency code.

func RandomInt

func RandomInt(min, max int64) int64

randomInt returns a random integer between min and max, inclusive.

func RandomMoney

func RandomMoney() int64

randomMoney returns a random amount of money.

func RandomOwner

func RandomOwner() string

randomOwner returns a random owner name.

func RandomString

func RandomString(n int) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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