Skip to content

iheartradio/cog

 
 

Repository files navigation

Cog Build Status

Cog is a collection of utils for golang that I tend to use across many of my projects. Rather than building new cogs everywhere, I've just consolidated them all here. Cogs for everyone!

Modules

Cog consists of the following modules:

Module Docs Description
(root) GoDoc generic utils that didn't fit anywhere else
bytec GoDoc extra byte slice utils
cfs GoDoc filesystem utils
check GoDoc test assertions and isolated FS utils
cio GoDoc extra io utils
clog GoDoc a logging framework that looks a bit like python's logging
cnet GoDoc misc net utils and a socket implementation using channels
cort GoDoc extra sorting utilities
ctime GoDoc time utils
cync GoDoc some extra sync utils
encoding/capn GoDoc capnproto Marshaling and Unmarshaling
encoding/path GoDoc path Marshaling and Unmarshaling
node GoDoc get information about the local node
stack GoDoc runtime call stack utils
statc GoDoc application status and stats
stringc GoDoc extra strings utils
unsafec GoDoc making things more unsafe

Each module contains full documentation over on godoc, including tons of examples.

As you might have noticed, the modules have weirdly spelled names; this is so that you can, for example, import both "sync" and "cync" into the same file, since "cync" only supplements "sync".

About

Cog: a utility library for golang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.1%
  • Other 0.9%