_uint64

package
v0.0.1-20220909-0002 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Uint64

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

func New

func New() *Uint64

func NewVal

func NewVal(v uint64) *Uint64

func (*Uint64) Dec

func (v *Uint64) Dec(value uint64) uint64

func (*Uint64) Get

func (v *Uint64) Get() uint64

func (*Uint64) Inc

func (v *Uint64) Inc(value uint64) uint64

func (*Uint64) ResetMaxAndInc

func (v *Uint64) ResetMaxAndInc(
	incVal uint64,
	resetMax uint64,
	resetTo uint64,
) uint64

ResetMaxAndInc -> increment by a specific value and set a Reset Maximum when it should reset! set the specified value, and after that increment it!

func (*Uint64) Set

func (v *Uint64) Set(value uint64)

Jump to

Keyboard shortcuts

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