Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container interface { GetLogger() *zap.SugaredLogger GetPostRepository() repository.PostRepository GetUserRepository() repository.UserRepository GetJWTUtils() jwt.TokenUtils }
Container interface defining core application utilities such as logging and DB connectivity
func CreateContainer ¶
func CreateContainer( log *zap.SugaredLogger, postRepository repository.PostRepository, userRepository repository.UserRepository, jwtUtils jwt.TokenUtils, ) Container
CreateContainer instantiates the application container with all its necessary dependencies.
Click to show internal directories.
Click to hide internal directories.