package
0.2.0
Repository: https://github.com/wlachs/blog.git
Documentation: pkg.go.dev

# Functions

CreatePostRepository instantiates the postRepository.
CreateRepository established a DB connection and returns the repository.
CreateUserRepository instantiates the userRepository using the logger and the global repository.

# Structs

Post
Post DB schema.
User DB schema.

# Interfaces

PostRepository interface defining post-related database operations.
Repository defines the database access layer.
UserRepository interface defining user-related database operations.