go packages which are fine
Go to file
2019-02-08 18:44:20 -05:00
cmd/totp-proxy mctx: refactor so that contexts no longer carry mutable data 2019-02-07 19:42:12 -05:00
jstream mtest->mrand: move rand functionality from mtest into its own package 2018-07-03 00:20:00 +00:00
m mctx: refactor so that contexts no longer carry mutable data 2019-02-07 19:42:12 -05:00
mcfg mctx: refactor so that contexts no longer carry mutable data 2019-02-07 19:42:12 -05:00
mcrypto mlog: remove ErrKV/ErrWithKV, merr.KV/merr.WithValue are used instead 2019-01-15 00:00:24 -05:00
mctx mctx: implement beginnings of Annotations functionality 2019-02-08 18:44:20 -05:00
mdb mctx: refactor so that contexts no longer carry mutable data 2019-02-07 19:42:12 -05:00
merr merr: implement WithKV 2019-02-02 20:18:39 -05:00
mhttp mctx: refactor so that contexts no longer carry mutable data 2019-02-07 19:42:12 -05:00
mlog mctx: refactor so that contexts no longer carry mutable data 2019-02-07 19:42:12 -05:00
mnet mctx: refactor so that contexts no longer carry mutable data 2019-02-07 19:42:12 -05:00
mrand mrand: fix bug in Hex with it not outputting correct number of characters for odd number inputs 2018-08-13 19:40:15 -04:00
mrpc mtest->mrand: move rand functionality from mtest into its own package 2018-07-03 00:20:00 +00:00
mrun mctx: refactor so that contexts no longer carry mutable data 2019-02-07 19:42:12 -05:00
mtest mctx: refactor so that contexts no longer carry mutable data 2019-02-07 19:42:12 -05:00
mtime mtime: fix older package doc not having been deleted 2018-05-27 07:57:23 +00:00
env.test mbigtable: implement basic cfg and basic tests 2018-07-21 19:56:50 +00:00
LICENSE Initial commit 2018-01-11 15:47:01 +00:00
README.md mlog: remove ErrKV/ErrWithKV, merr.KV/merr.WithValue are used instead 2019-01-15 00:00:24 -05:00

mediocre-go-lib

This is a collection of packages which I use across many of my personal projects. All packages intended to be used start with an m, packages not starting with m are for internal use within this set of packages.

Usage notes

  • In general, all checking of equality of errors, e.g. err == io.EOF, done on errors returned from the packages in this project should be done using merr.Equal, e.g. merr.Equal(err, io.EOF). The merr package is used to wrap errors and embed further metadata in them, like stack traces and so forth.

Styleguide

Here are general guidelines I use when making decisions about how code in this repo should be written. Most of the guidelines I have come up with myself have to do with package design, since packages are the only thing which have any rigidity and therefore need any rigid rules.

Everything here are guidelines, not actual rules.