Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context interface { GetRepository() repository.Repository GetConfig() *config.Config GetLogger() *logger.Logger }
Context represents a interface for accessing the data which sharing in overall application.
func NewContext ¶
func NewContext(rep repository.Repository, config *config.Config, logger *logger.Logger) Context
NewContext is constructor.
Click to show internal directories.
Click to hide internal directories.