Skip to content

delaneyj/toolbelt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

178 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

toolbelt

A set of utilities used in every go project

wisshes mascot

Package splits

Several helpers were moved out of the root toolbelt package to avoid pulling external dependencies into every import.

  • toolbelt/db: sqlite + timestamp helpers from database.go (Database, NewDatabase, Julian/Stmt helpers, migrations).
  • toolbelt/protobuf: protobuf marshal/unmarshal helpers from protobuf.go.
  • toolbelt/egctx: errgroup helpers from egctx.go.
  • toolbelt/id: ID generation/encoding helpers from id.go (no chi dependency).
  • toolbelt/web: chi-based request param helpers (ChiParamInt64, ChiParamEncodedID).

If you were importing these from toolbelt directly, update your imports to the package listed above.

About

A set of utilities used in every go project

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 8

Languages