Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository interface { AddRiskMatrix(RiskMatrix) error AddRisk(Risk) error SaveMediaPath(path string) error }
Repository provides access to RiskMatrix repository.
type RiskMatrix ¶
type Service ¶
type Service interface { AddRiskMatrix(...RiskMatrix) error AddRisk(...Risk) error SaveMediaPath(path string) error }
Service provides risk matrix and risk adding operations
func NewService ¶
func NewService(r Repository) Service
NewService creates an adding service with the necessary dependencies
Click to show internal directories.
Click to hide internal directories.