Versions in this module Expand all Collapse all v1 v1.0.0 Jun 13, 2026 Changes in this version + type CreateInput struct + ComponentID string + Description string + Name string + Status models.ComponentStatus + type Service struct + func NewService(repo repository.SubComponentRepository) *Service + func (s *Service) Create(ctx context.Context, input CreateInput) (models.SubComponent, error) + func (s *Service) Delete(ctx context.Context, id primitive.ObjectID) error + func (s *Service) List(ctx context.Context, componentIDHex string, page, limit int) ([]models.SubComponent, int64, error) + func (s *Service) Update(ctx context.Context, id primitive.ObjectID, input UpdateInput) (models.SubComponent, error) + type UpdateInput struct + ComponentID string + Description string + Name string + Status models.ComponentStatus