Skip to main content

NewCachedOutputRepo

No overview available.

def NewCachedOutputRepo(
db: *sqlx.DB
) - > *CachedOutputRepo

Initializes and returns a new instance of CachedOutputRepo, providing a repository for cached output operations.

Parameters

NameTypeDescription
db*sqlx.DBThe database connection pool to be used by the CachedOutputRepo for all database operations.

Returns

TypeDescription
*CachedOutputRepoA pointer to a new CachedOutputRepo instance.