cz

package module
v0.0.0-...-4cbe716 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GameTime

func GameTime() time.Time

func GameTimestamp

func GameTimestamp() int64

func Hello

func Hello()

func NowDate

func NowDate() string

func NowDateShort

func NowDateShort() string

func TimestampToDate

func TimestampToDate(timestamp int64) string

Types

type SafeMap

type SafeMap[K comparable, V any] struct {
	// contains filtered or unexported fields
}

func NewSafeMap

func NewSafeMap[K comparable, V any]() *SafeMap[K, V]

func (*SafeMap[K, V]) Del

func (receiver *SafeMap[K, V]) Del(k K)

func (*SafeMap[K, V]) Get

func (receiver *SafeMap[K, V]) Get(k K) (V, bool)

func (*SafeMap[K, V]) MarshalJSON

func (receiver *SafeMap[K, V]) MarshalJSON() ([]byte, error)

func (*SafeMap[K, V]) Set

func (receiver *SafeMap[K, V]) Set(k K, v V)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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