1
0
Fork 0
go packages which are fine
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
mediocre-go-lib/mctx/mctx.go

15 lines
616 B

// Package mctx extends the builtin context package to add easy-to-use
// annotation functionality, which is useful for logging and errors.
//
// All functions and methods in this package are thread-safe unless otherwise
// noted.
//
// Annotations
//
// Annotations are a special case of key/values, where the data being
// stored is specifically runtime metadata which would be useful for logging,
// error output, etc... Annotation data might include an IP address of a
// connected client, a userID the client has authenticated as, the primary key
// of a row in a database being queried, etc...
//
package mctx