You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kayos@tcp.direct 3d8d392d8b
Feat: Add new hash functions + Testing: improve coverage
1 day ago
.github/workflows Fix: github CI for go 1.18 3 months ago
entropy Feat: Add new hash functions + Testing: improve coverage 1 day ago
hash Feat: Add new hash functions + Testing: improve coverage 1 day ago
linux Feat: Add new hash functions + Testing: improve coverage 1 day ago
network Revert: Make packages independant 2 months ago
squish Feat: Add new hash functions + Testing: improve coverage 1 day ago
.gitignore Introduce new PRNG with drastically better performance 4 months ago
LICENSE Make godoc happy.. harder 6 months ago
README.md Update README.md 1 month ago
common_test.go Coverage: Fprint testing 1 month ago
go.mod Feat: Add new hash functions + Testing: improve coverage 1 day ago
go.sum Feat: Add new hash functions + Testing: improve coverage 1 day ago
util.go Add: Float64 byte slice conversions 1 month ago

README.md

common

GoDoc codecov

Welcome to things. Here are some of the aforementioned:

base

import "git.tcp.direct/kayos/common"

Base Module

func Abs

func Abs(n int) int

Abs will give you the positive version of a negative integer, quickly.

func BytesToFloat64

func BytesToFloat64(bytes []byte) float64

BytesToFloat64 will take a slice of bytes and convert it to a float64 type.

func Float64ToBytes

func Float64ToBytes(f float64) []byte

Float64ToBytes will take a float64 type and convert it to a slice of bytes.

func Fprint

func Fprint(w io.Writer, s string)

Fprint is fmt.Fprint with error handling.