Update README.md
This commit is contained in:
parent
0dda286965
commit
06cc556626
20
README.md
20
README.md
|
@ -12,11 +12,13 @@ Welcome to things. Here are some of the aforementioned:
|
|||
|
||||
* [entropy](https://pkg.go.dev/git.tcp.direct/kayos/common/entropy)
|
||||
|
||||
* [network](https://pkg.go.dev/git.tcp.direct/kayos/common/network)
|
||||
|
||||
## base
|
||||
|
||||
`import "git.tcp.direct/kayos/common"`
|
||||
`import "git.tcp.direct/kayos/common"`
|
||||
|
||||
## Base
|
||||
## Base Module
|
||||
|
||||
#### func Abs
|
||||
|
||||
|
@ -25,6 +27,20 @@ func Abs(n int) int
|
|||
```
|
||||
Abs will give you the positive version of a negative integer, quickly.
|
||||
|
||||
#### func BytesToFloat64
|
||||
|
||||
```go
|
||||
func BytesToFloat64(bytes []byte) float64
|
||||
```
|
||||
BytesToFloat64 will take a slice of bytes and convert it to a float64 type.
|
||||
|
||||
#### func Float64ToBytes
|
||||
|
||||
```go
|
||||
func Float64ToBytes(f float64) []byte
|
||||
```
|
||||
Float64ToBytes will take a float64 type and convert it to a slice of bytes.
|
||||
|
||||
#### func Fprint
|
||||
|
||||
```go
|
||||
|
|
Loading…
Reference in New Issue