gutil

package module
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: May 29, 2025 License: MIT Imports: 3 Imported by: 10

README

some useful util tools

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bound

func Bound[T constraints.Ordered](a, min, max T) T

func If

func If[T any](ok bool, trueValue, falseValue T) T

func MD5

func MD5(str string) string

func Max

func Max[T constraints.Ordered](a, b T) T

func Min

func Min[T constraints.Ordered](a, b T) T

Types

This section is empty.

Directories

Path Synopsis
Package glog implements logging analogous to the Google-internal C++ INFO/ERROR/V setup.
Package glog implements logging analogous to the Google-internal C++ INFO/ERROR/V setup.

Jump to

Keyboard shortcuts

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