package
0.0.0-20200908014345-4a7f41d0fee0
Repository: https://github.com/nokamoto/demo20-apps.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

BulkInsert inserts multiple recoreds.
Create inserts the record.
Delete deletes records by the condition(s).
Get finds a single record by the condition(s).
List finds records by the condition(s).
ListAll finds all records by the condition(s).
Translate converts a mysql server error to an error defined in this package.
Update updates the record.

# Variables

ErrAlreadyExists represents a duplicated record.
ErrNotFound represents a record not found.
TestDupEntryErr is a dup entry error for a test.

# Structs

TestCase represents a single test case using sql-mock.

# Type aliases

Run represents a test execution.
TestCases represents a list of TestCase.