package
0.0.0-20221218120333-a376c7093645
Repository: https://github.com/satornetwork/sator-api.git
Documentation: pkg.go.dev

# Functions

IsDuplicateError determines if an error is pq: duplicate key value violates unique constraint error.
IsNotFoundError determines if an error is sql.ErrNoRows.
No description provided by the author
NewLock returns a Lock with *sql.Conn.
NewUUID returns a new, properly instantiated UUID object.
Transaction is a wrapper function which helps to avoid the use of sql.DB instance directly.

# Structs

Lock implements the Locker interface.
UUID can be used with the standard sql package to represent a UUID value that can be NULL in the database.

# Interfaces

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

# Type aliases

No description provided by the author