randopt

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: May 21, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RandTrue

func RandTrue(Molecular int, Denominator int) bool

func RandomString

func RandomString(length int) string

Types

type Counter

type Counter struct {
	// contains filtered or unexported fields
}

func NewCounter

func NewCounter(startId int64) *Counter

func (*Counter) Add

func (itself *Counter) Add() int64

func (*Counter) Clean

func (itself *Counter) Clean() int64

func (*Counter) Get

func (itself *Counter) Get() int64

Jump to

Keyboard shortcuts

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