utils

module
v0.0.0-...-553a8f7 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2019 License: Unlicense

README

utils

Build Status GolangCI

golang utilities

debug

Package debug provide log.Print[f|ln] like interface which only print message when build with "-tags debug"

import "github.com/toy80/utils/debug"

weak

Package weak implement weak reference for golang.

import "github.com/toy80/utils/weak"

Directories

Path Synopsis
cmd
bin2go
Package bin2go is a command line utils to convert any (binary) file to golang byte slice.
Package bin2go is a command line utils to convert any (binary) file to golang byte slice.
toy80-uuidgen
simple util to generate rfc4122 version 4 randomly UUID
simple util to generate rfc4122 version 4 randomly UUID
Package counters provide atomic named counters
Package counters provide atomic named counters
Package factory implement a simple fatory design pattern
Package factory implement a simple fatory design pattern
Package levenshtein implement basic levenshtein string distance algorithm
Package levenshtein implement basic levenshtein string distance algorithm
Package logx implement a simple log rotation mechanism
Package logx implement a simple log rotation mechanism
arguments
Package arguments parse -key=value style command line arguments for package github.com/toy80/utils/options
Package arguments parse -key=value style command line arguments for package github.com/toy80/utils/options
Package reg provide a key-value data storage.
Package reg provide a key-value data storage.
Package ssvg is for generate simple SVG, support muti-frame animation.
Package ssvg is for generate simple SVG, support muti-frame animation.
Package uuid provide interface for generate and parse rfc4122 version 4 randomly UUIDs.
Package uuid provide interface for generate and parse rfc4122 version 4 randomly UUIDs.
Package variant provide cast functions to convert between string and number types, these functions will never panic nor raise error.
Package variant provide cast functions to convert between string and number types, these functions will never panic nor raise error.
Package weak implement weak reference
Package weak implement weak reference

Jump to

Keyboard shortcuts

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