Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container interface { GetRepository() repository.Repository GetSession() session.Session GetConfig() *config.Config GetMessages() map[string]string GetLogger() logger.Logger GetEnv() string }
Container represents a interface for accessing the data which sharing in overall application.
func NewContainer ¶
func NewContainer(rep repository.Repository, s session.Session, config *config.Config, messages map[string]string, logger logger.Logger, env string) Container
NewContainer is constructor.
Click to show internal directories.
Click to hide internal directories.