Documentation ¶
Index ¶
- Variables
- type Service
- type StrategicAlignment
- func (sa StrategicAlignment) Create(c echo.Context, alignmentName string, orgID int) (model.StrategicAlignment, error)
- func (sa StrategicAlignment) Delete(c echo.Context, saUUID uuid.UUID, orgID int) error
- func (sa StrategicAlignment) List(c echo.Context, oID int) ([]model.StrategicAlignment, error)
- func (sa StrategicAlignment) Update(c echo.Context, mySA model.StrategicAlignment) error
- type StrategicAlignmentDB
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotFound = authapi.Error{CodeInt: http.StatusNotFound, Message: "Not found"}
)
Functions ¶
This section is empty.
Types ¶
type StrategicAlignment ¶
type StrategicAlignment struct {
// contains filtered or unexported fields
}
func Initialize ¶
func Initialize(db *sqlx.DB) StrategicAlignment
func New ¶
func New(db *sqlx.DB, sadb StrategicAlignmentDB) StrategicAlignment
func (StrategicAlignment) Create ¶
func (sa StrategicAlignment) Create(c echo.Context, alignmentName string, orgID int) (model.StrategicAlignment, error)
func (StrategicAlignment) Delete ¶
func (sa StrategicAlignment) Delete(c echo.Context, saUUID uuid.UUID, orgID int) error
func (StrategicAlignment) List ¶
func (sa StrategicAlignment) List(c echo.Context, oID int) ([]model.StrategicAlignment, error)
func (StrategicAlignment) Update ¶
func (sa StrategicAlignment) Update(c echo.Context, mySA model.StrategicAlignment) error
type StrategicAlignmentDB ¶
Click to show internal directories.
Click to hide internal directories.