utils

package
Version: v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompressByte

func CompressByte(src []byte) []byte

CompressByte returns a compressed byte slice.

func DecompressByte

func DecompressByte(src []byte) []byte

DecompressByte returns a decompressed byte slice.

func StringToReadableHash

func StringToReadableHash(s string) string

func TimeAgo

func TimeAgo(t time.Time) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL