package
0.0.0-20241005204957-d6dd5f55f8ed
Repository: https://github.com/danicc097/openapi-go-gin-postgres-sqlc.git
Documentation: pkg.go.dev

# Functions

DropAndRecreateDB drops and recreates a given database.
Returns the directory of the file this function lives in.
GetStderr returns the contents of stderr.txt in dir.
NewDB returns a new testing Postgres pool with up-to-date migrations.
No description provided by the author
RandomBool generates a random boolean.
RandomDate generates a random UTC date.
RandomEmail generates a random email.
RandomFirstName generates a random first name.
RandomFrom selects a random item from a list.
RandomHEXColor generates a random color in hexadecimal format (#RRGGBB).
RandomInt generates a random int between min and max.
RandomInt64 generates a random int64 between min and max.
RandomLastName generates a random last name.
RandomDate generates a random local date.
RandomMoney generates a random amount of money.
RandomName generates a random name.
RandomNameIdentifier generates a random name identifier, such as eminently-sincere-mollusk-aksticpemgicjrtb.
RandomString generates a random string of length n.
Setup runs necessary pre-testing commands for a package: env vars loading, sourcing..
WithMigrations runs migrations on top of the database.

# Structs

No description provided by the author

# Type aliases

No description provided by the author