package
0.0.0-20250125224919-456cd2e54c8e
Repository: https://github.com/madalinpopa/go-bookreview.git
Documentation: pkg.go.dev
# Functions
Equal checks if the `got` and `want` values of a comparable type are equal, and reports an error if they differ.
Error fails the test if the provided error is nil, optionally logging a custom message with additional arguments.
NewTestDB creates an in-memory SQLite database with predefined test tables for unit testing purposes.
NoError checks if the given error is nil, and reports a test failure if it is not nil.