dbtools

Go db helpers library for using in production code and tests.

APACHE-2.0 License

Stars
4
Committers
1
dbtools - Latest Release

Published by arsham 4 months ago

Refactor

  • Db: Upgrade retry and pgx versions [BREAKING CHANGE]
dbtools -

Published by arsham 4 months ago

CI

  • Add support for go v1.19

Chore

  • Dependencies: Update modules
dbtools -

Published by arsham over 2 years ago

Misc

  • Readme: Add better documentation

Chore

  • Dependencies: Update go modules

Refactor

  • Db: Change the Transaction name
  • Db: Remove multierror
  • Db: Remove support for sql.DB
  • Upgrade go.mod version to v2
  • Tests: Expand usage of the testify library
  • Drop support for go 1.17
dbtools -

Published by arsham over 2 years ago

Misc

  • Db: Improve error checking

Feature

  • Db: Helper for setting retrier directly

Chore

  • Dependencies: Update modules
dbtools -

Published by arsham over 2 years ago

Refactor

  • Db: Stop retrying on context is cancelled
dbtools -

Published by arsham over 2 years ago

Refactor

  • Dbtools: Return panic stack trace
  • Makefile: Cleanup the Makefile

Misc

  • Add audit setup
  • Update golangci-lint setup and version
dbtools -

Published by arsham over 2 years ago

Chore

  • Dependencies: Upgrade modules
dbtools -

Published by arsham over 2 years ago

Chore

  • Dependencies: Update modules
  • Update go.mod version
  • Update golangci-lint version
dbtools -

Published by arsham over 2 years ago

Misc

  • Support for pointer to retry.StopError
dbtools -

Published by arsham over 2 years ago

Misc

  • Replace travis-ci with github actions
  • Changelog: Remove changelog setup

Style

  • Linting: Update golangci-lint version

Chore

  • Dependencies: Update modules
dbtools - Add support for pgxpool

Published by arsham about 4 years ago

Added

  • Add support for pgxpool

This release adds a struct for managing transaction. WithTransaction and RetryTransaction functions are deprecated in favour of Transaction struct. Retry function is also deprecated in favour of the retry library.

dbtools - Handle function panics

Published by arsham about 4 years ago

Handle

  • Handle function panics
dbtools - Add db helpers

Published by arsham about 4 years ago

Added

  • Add db helpers and rename the repo to dbtools
dbtools - Add mocha report and update README.md file

Published by arsham about 4 years ago

Added

  • Add mocha report and update README.md file
dbtools - Add ValueRecorder and OkValue

Published by arsham about 4 years ago

Added

  • Add ValueRecorder and OkValue

Initial

  • Initial commit