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 3139db4896
Feat: Fprintf
4 days ago
.github Create dependabot.yml 3 months ago
entropy Feat: Fprintf 4 days ago
hash Performance and testing improvements 1 month ago
linux gofmt -s 3 months ago
network Feat: Fprintf 4 days ago
squish Paranoid checks 1 month ago
.gitignore Introduce new PRNG with drastically better performance 7 months ago
LICENSE Make godoc happy.. harder 9 months ago
README.md Update README.md 4 months ago
common_test.go Feat: Fprintf 4 days ago
go.mod Retract defunct cached modules 2 weeks ago
go.sum Performance and testing improvements 1 month ago
util.go Feat: Fprintf 4 days 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.