utils

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: May 2, 2020 License: LGPL-3.0 Imports: 3 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Abs

func Abs(v int64) int64

Abs return abs of the input integer

func Char2Value

func Char2Value(c uint8) (uint8, error)

func Contains

func Contains(obj interface{}, target interface{}) bool

func CopyStruct

func CopyStruct(dst interface{}, src interface{}) (err error)

dst should be a pointer to struct, src should be a struct

func MaxOf

func MaxOf(vars ...int) int

func MinOf

func MinOf(vars ...int) int

func String2Uint64

func String2Uint64(str string) (uint64, error)

func Uint642String

func Uint642String(c uint64) string

Types

This section is empty.

Directories

Path Synopsis
Package types contains log utils for fractal project.
Package types contains log utils for fractal project.

Jump to

Keyboard shortcuts

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