diff --git a/cmd/openctem-admin/cmd/client.go b/cmd/openctem-admin/cmd/client.go index a6347c56..31cc23f7 100644 --- a/cmd/openctem-admin/cmd/client.go +++ b/cmd/openctem-admin/cmd/client.go @@ -1,3 +1,4 @@ +// Package cmd implements the openctem-admin CLI (cobra commands) for tenant ops + maintenance. package cmd import ( diff --git a/internal/app/activity/service.go b/internal/app/activity/service.go index 132ff8ed..f9d34e18 100644 --- a/internal/app/activity/service.go +++ b/internal/app/activity/service.go @@ -1,3 +1,7 @@ +// Package activity provides the application service that records, queries, +// and aggregates user-facing activity events (asset created, finding +// reopened, scan triggered, etc). The service is the orchestration layer +// over pkg/domain/activity entities + a repository implementation. package activity import ( @@ -113,9 +117,9 @@ type RecordActivityInput struct { ActivityType string `validate:"required"` ActorID *string `validate:"omitempty,uuid"` ActorType string `validate:"required"` - Changes map[string]interface{} `validate:"required"` + Changes map[string]any `validate:"required"` Source string - SourceMetadata map[string]interface{} + SourceMetadata map[string]any } // MaxChangesSize is the maximum allowed size for the changes JSONB field (15KB). @@ -216,7 +220,7 @@ func (s *FindingActivityService) RecordBatchAutoResolved( vulnerability.ActivityAutoResolved, nil, // no actor - system action vulnerability.ActorTypeSystem, - map[string]interface{}{ + map[string]any{ "reason": "not_found_in_full_scan", "scanner": toolName, "scan_id": scanID, @@ -258,7 +262,7 @@ func (s *FindingActivityService) RecordBatchAutoReopened( vulnerability.ActivityAutoReopened, nil, // no actor - system action vulnerability.ActorTypeSystem, - map[string]interface{}{ + map[string]any{ "reason": "finding_detected_again", }, vulnerability.SourceAuto, @@ -288,7 +292,7 @@ func (s *FindingActivityService) RecordStatusChange( reason string, source string, ) (*vulnerability.FindingActivity, error) { - changes := map[string]interface{}{ + changes := map[string]any{ "old_status": oldStatus, "new_status": newStatus, } @@ -315,7 +319,7 @@ func (s *FindingActivityService) RecordSeverityChange( oldSeverity, newSeverity string, source string, ) (*vulnerability.FindingActivity, error) { - changes := map[string]interface{}{ + changes := map[string]any{ "old_severity": oldSeverity, "new_severity": newSeverity, } @@ -339,7 +343,7 @@ func (s *FindingActivityService) RecordAssignment( assigneeID, assigneeName, assigneeEmail string, source string, ) (*vulnerability.FindingActivity, error) { - changes := map[string]interface{}{ + changes := map[string]any{ "assignee_id": assigneeID, "assignee_name": assigneeName, "assignee_email": assigneeEmail, @@ -364,7 +368,7 @@ func (s *FindingActivityService) RecordUnassignment( previousAssigneeName string, source string, ) (*vulnerability.FindingActivity, error) { - changes := map[string]interface{}{ + changes := map[string]any{ "previous_assignee_name": previousAssigneeName, } @@ -388,7 +392,7 @@ func (s *FindingActivityService) RecordCommentAdded( commentID, content string, source string, ) (*vulnerability.FindingActivity, error) { - changes := map[string]interface{}{ + changes := map[string]any{ "comment_id": commentID, } if content != "" { @@ -421,7 +425,7 @@ func (s *FindingActivityService) RecordCommentUpdated( commentID string, source string, ) (*vulnerability.FindingActivity, error) { - changes := map[string]interface{}{ + changes := map[string]any{ "comment_id": commentID, } @@ -444,7 +448,7 @@ func (s *FindingActivityService) RecordCommentDeleted( commentID string, source string, ) (*vulnerability.FindingActivity, error) { - changes := map[string]interface{}{ + changes := map[string]any{ "comment_id": commentID, } @@ -483,9 +487,9 @@ func (s *FindingActivityService) RecordScanDetected( ctx context.Context, tenantID, findingID string, scanID, scanner, scanType string, - sourceMetadata map[string]interface{}, + sourceMetadata map[string]any, ) (*vulnerability.FindingActivity, error) { - changes := map[string]interface{}{ + changes := map[string]any{ "scan_id": scanID, "scanner": scanner, "scan_type": scanType, @@ -508,7 +512,7 @@ func (s *FindingActivityService) RecordCreated( ctx context.Context, tenantID, findingID string, source string, - sourceMetadata map[string]interface{}, + sourceMetadata map[string]any, ) (*vulnerability.FindingActivity, error) { return s.RecordActivity(ctx, RecordActivityInput{ TenantID: tenantID, @@ -516,7 +520,7 @@ func (s *FindingActivityService) RecordCreated( ActivityType: string(vulnerability.ActivityCreated), ActorID: nil, ActorType: string(vulnerability.ActorTypeSystem), - Changes: map[string]interface{}{}, + Changes: map[string]any{}, Source: source, SourceMetadata: sourceMetadata, }) diff --git a/internal/app/agent/service.go b/internal/app/agent/service.go index 43d373cf..7cc78cfd 100644 --- a/internal/app/agent/service.go +++ b/internal/app/agent/service.go @@ -1,3 +1,4 @@ +// Package agent implements the application service for the agent bounded context — orchestrates pkg/domain/agent entities and cross-cutting concerns (audit, notifications, RBAC). package agent import ( diff --git a/internal/app/aitriage/service.go b/internal/app/aitriage/service.go index fc8f8f9a..e4156a3f 100644 --- a/internal/app/aitriage/service.go +++ b/internal/app/aitriage/service.go @@ -1,3 +1,4 @@ +// Package aitriage implements the application service for the aitriage bounded context — orchestrates pkg/domain/aitriage entities and cross-cutting concerns (audit, notifications, RBAC). package aitriage import ( diff --git a/internal/app/apikey/service.go b/internal/app/apikey/service.go index 120051e6..0cfd64a1 100644 --- a/internal/app/apikey/service.go +++ b/internal/app/apikey/service.go @@ -1,3 +1,4 @@ +// Package apikey implements the application service for the apikey bounded context — orchestrates pkg/domain/apikey entities and cross-cutting concerns (audit, notifications, RBAC). package apikey import ( diff --git a/internal/app/asset/service.go b/internal/app/asset/service.go index 5dd547cb..67a8bdaa 100644 --- a/internal/app/asset/service.go +++ b/internal/app/asset/service.go @@ -1,3 +1,4 @@ +// Package asset implements the application service for the asset bounded context — orchestrates pkg/domain/asset entities and cross-cutting concerns (audit, notifications, RBAC). package asset import ( diff --git a/internal/app/assignment/engine.go b/internal/app/assignment/engine.go index 00bb29f0..850e04b2 100644 --- a/internal/app/assignment/engine.go +++ b/internal/app/assignment/engine.go @@ -1,3 +1,4 @@ +// Package assignment implements the application service for the assignment bounded context — orchestrates pkg/domain/assignment entities and cross-cutting concerns (audit, notifications, RBAC). package assignment import ( diff --git a/internal/app/attack/path_scoring.go b/internal/app/attack/path_scoring.go index e7918f27..70faadc1 100644 --- a/internal/app/attack/path_scoring.go +++ b/internal/app/attack/path_scoring.go @@ -1,3 +1,4 @@ +// Package attack implements the application service for the attack bounded context — orchestrates pkg/domain/attack entities and cross-cutting concerns (audit, notifications, RBAC). package attack import ( diff --git a/internal/app/audit/service.go b/internal/app/audit/service.go index 1a605c80..16d28468 100644 --- a/internal/app/audit/service.go +++ b/internal/app/audit/service.go @@ -1,3 +1,4 @@ +// Package audit implements the application service for the audit bounded context — orchestrates pkg/domain/audit entities and cross-cutting concerns (audit, notifications, RBAC). package audit import ( diff --git a/internal/app/auth/service.go b/internal/app/auth/service.go index 4166d949..acb35f08 100644 --- a/internal/app/auth/service.go +++ b/internal/app/auth/service.go @@ -1,3 +1,4 @@ +// Package auth implements the application service for the auth bounded context — orchestrates pkg/domain/auth entities and cross-cutting concerns (audit, notifications, RBAC). package auth import ( diff --git a/internal/app/capability/service.go b/internal/app/capability/service.go index ca45f7da..c37046de 100644 --- a/internal/app/capability/service.go +++ b/internal/app/capability/service.go @@ -1,3 +1,4 @@ +// Package capability implements the application service for the capability bounded context — orchestrates pkg/domain/capability entities and cross-cutting concerns (audit, notifications, RBAC). package capability import ( diff --git a/internal/app/command/service.go b/internal/app/command/service.go index c090a667..84af5d05 100644 --- a/internal/app/command/service.go +++ b/internal/app/command/service.go @@ -1,3 +1,4 @@ +// Package command implements the application service for the command bounded context — orchestrates pkg/domain/command entities and cross-cutting concerns (audit, notifications, RBAC). package command import ( diff --git a/internal/app/compliance/service.go b/internal/app/compliance/service.go index 9a5382dc..fe40accb 100644 --- a/internal/app/compliance/service.go +++ b/internal/app/compliance/service.go @@ -1,3 +1,4 @@ +// Package compliance implements the application service for the compliance bounded context — orchestrates pkg/domain/compliance entities and cross-cutting concerns (audit, notifications, RBAC). package compliance import ( diff --git a/internal/app/exposure/service.go b/internal/app/exposure/service.go index 8de1d56a..c1466b1e 100644 --- a/internal/app/exposure/service.go +++ b/internal/app/exposure/service.go @@ -1,3 +1,4 @@ +// Package exposure implements the application service for the exposure bounded context — orchestrates pkg/domain/exposure entities and cross-cutting concerns (audit, notifications, RBAC). package exposure import ( diff --git a/internal/app/finding/actions.go b/internal/app/finding/actions.go index be39e1e9..e538b13e 100644 --- a/internal/app/finding/actions.go +++ b/internal/app/finding/actions.go @@ -1,3 +1,4 @@ +// Package finding implements the application service for the finding bounded context — orchestrates pkg/domain/finding entities and cross-cutting concerns (audit, notifications, RBAC). package finding import ( diff --git a/internal/app/ingest/priority_gate_test.go b/internal/app/ingest/priority_gate_test.go index 28c2014a..832f7f06 100644 --- a/internal/app/ingest/priority_gate_test.go +++ b/internal/app/ingest/priority_gate_test.go @@ -259,10 +259,6 @@ func TestPriorityGate_FilterProperties_FeatureOffReturnsInputUnchanged(t *testin incoming := map[string]any{"a": 1, "b": 2} allowed, skipped := g.FilterProperties(settings, src, incoming, nil) - // Same map reference — zero-allocation happy path. - if &allowed == &incoming { // can't compare maps by pointer directly - // fallthrough; documented invariant is "same map contents" - } if len(allowed) != 2 { t.Errorf("expected pass-through of 2 entries, got %d", len(allowed)) } diff --git a/internal/app/integration/service.go b/internal/app/integration/service.go index 38e13fe1..c617cc43 100644 --- a/internal/app/integration/service.go +++ b/internal/app/integration/service.go @@ -1,3 +1,4 @@ +// Package integration implements the application service for the integration bounded context — orchestrates pkg/domain/integration entities and cross-cutting concerns (audit, notifications, RBAC). package integration import ( diff --git a/internal/app/jira/rescan_hook.go b/internal/app/jira/rescan_hook.go index 28a02474..5868c32e 100644 --- a/internal/app/jira/rescan_hook.go +++ b/internal/app/jira/rescan_hook.go @@ -1,3 +1,4 @@ +// Package jira implements the application service for the jira bounded context — orchestrates pkg/domain/jira entities and cross-cutting concerns (audit, notifications, RBAC). package jira import ( diff --git a/internal/app/module/service.go b/internal/app/module/service.go index 79ceced6..3b30e063 100644 --- a/internal/app/module/service.go +++ b/internal/app/module/service.go @@ -1,3 +1,4 @@ +// Package module implements the application service for the module bounded context — orchestrates pkg/domain/module entities and cross-cutting concerns (audit, notifications, RBAC). package module import ( diff --git a/internal/app/outbox/service.go b/internal/app/outbox/service.go index fc66aba7..e5dfb320 100644 --- a/internal/app/outbox/service.go +++ b/internal/app/outbox/service.go @@ -1,3 +1,4 @@ +// Package outbox implements the application service for the outbox bounded context — orchestrates pkg/domain/outbox entities and cross-cutting concerns (audit, notifications, RBAC). package outbox import ( diff --git a/internal/app/scan/service.go b/internal/app/scan/service.go index 8e663991..28e119e3 100644 --- a/internal/app/scan/service.go +++ b/internal/app/scan/service.go @@ -1,3 +1,4 @@ +// Package scan implements the application service for the scan bounded context — orchestrates pkg/domain/scan entities and cross-cutting concerns (audit, notifications, RBAC). package scan import ( diff --git a/internal/app/scope/service.go b/internal/app/scope/service.go index 2bfa26bb..5d7a72fc 100644 --- a/internal/app/scope/service.go +++ b/internal/app/scope/service.go @@ -1,3 +1,4 @@ +// Package scope implements the application service for the scope bounded context — orchestrates pkg/domain/scope entities and cross-cutting concerns (audit, notifications, RBAC). package scope import ( diff --git a/internal/app/template/scan_adapter.go b/internal/app/template/scan_adapter.go index 4d02e2f0..8adad7df 100644 --- a/internal/app/template/scan_adapter.go +++ b/internal/app/template/scan_adapter.go @@ -1,3 +1,4 @@ +// Package template implements the application service for the template bounded context — orchestrates pkg/domain/template entities and cross-cutting concerns (audit, notifications, RBAC). package template import ( diff --git a/internal/app/template/validator.go b/internal/app/template/validator.go index 750f8dfb..ad485a47 100644 --- a/internal/app/template/validator.go +++ b/internal/app/template/validator.go @@ -1,4 +1,4 @@ -// Package validators provides template validation for different scanner types. +// Package template provides template validation for different scanner types. package template import ( diff --git a/internal/app/tenant/service.go b/internal/app/tenant/service.go index d035930f..8aef423e 100644 --- a/internal/app/tenant/service.go +++ b/internal/app/tenant/service.go @@ -1,3 +1,4 @@ +// Package tenant implements the application service for the tenant bounded context — orchestrates pkg/domain/tenant entities and cross-cutting concerns (audit, notifications, RBAC). package tenant import ( diff --git a/internal/app/threat/actor_service.go b/internal/app/threat/actor_service.go index 14eb577b..88b563bc 100644 --- a/internal/app/threat/actor_service.go +++ b/internal/app/threat/actor_service.go @@ -1,3 +1,4 @@ +// Package threat implements the application service for the threat bounded context — orchestrates pkg/domain/threat entities and cross-cutting concerns (audit, notifications, RBAC). package threat import ( diff --git a/internal/app/tool/service.go b/internal/app/tool/service.go index 548ca3dd..520efe73 100644 --- a/internal/app/tool/service.go +++ b/internal/app/tool/service.go @@ -1,3 +1,4 @@ +// Package tool implements the application service for the tool bounded context — orchestrates pkg/domain/tool entities and cross-cutting concerns (audit, notifications, RBAC). package tool import ( diff --git a/internal/app/workflow/service.go b/internal/app/workflow/service.go index 633d8065..90a4e89e 100644 --- a/internal/app/workflow/service.go +++ b/internal/app/workflow/service.go @@ -1,3 +1,4 @@ +// Package workflow implements the application service for the workflow bounded context — orchestrates pkg/domain/workflow entities and cross-cutting concerns (audit, notifications, RBAC). package workflow import ( diff --git a/internal/infra/http/chi_router.go b/internal/infra/http/chi_router.go index 9d11b2a2..60ae28f0 100644 --- a/internal/infra/http/chi_router.go +++ b/internal/infra/http/chi_router.go @@ -1,3 +1,4 @@ +// Package http hosts the HTTP server scaffolding (router, options, lifecycle). package http import ( diff --git a/internal/infra/postgres/access_control_repository.go b/internal/infra/postgres/access_control_repository.go index ad5a199a..15a46583 100644 --- a/internal/infra/postgres/access_control_repository.go +++ b/internal/infra/postgres/access_control_repository.go @@ -1,3 +1,4 @@ +// Package postgres provides PostgreSQL repository implementations for the domain interfaces in pkg/domain/. package postgres import ( diff --git a/internal/metrics/metrics.go b/internal/metrics/metrics.go index d7a7dad7..5a13167e 100644 --- a/internal/metrics/metrics.go +++ b/internal/metrics/metrics.go @@ -1,3 +1,4 @@ +// Package metrics package metrics import ( diff --git a/pkg/domain/accesscontrol/entity.go b/pkg/domain/accesscontrol/entity.go index b261385a..7a797c74 100644 --- a/pkg/domain/accesscontrol/entity.go +++ b/pkg/domain/accesscontrol/entity.go @@ -1,3 +1,4 @@ +// Package accesscontrol provides public types and helpers reusable across the codebase. package accesscontrol import ( diff --git a/pkg/domain/apikey/entity.go b/pkg/domain/apikey/entity.go index a62bff14..85bcfe4d 100644 --- a/pkg/domain/apikey/entity.go +++ b/pkg/domain/apikey/entity.go @@ -1,3 +1,4 @@ +// Package apikey provides public types and helpers reusable across the codebase. package apikey import ( diff --git a/pkg/domain/asset/category.go b/pkg/domain/asset/category.go index 3381ff50..4379c451 100644 --- a/pkg/domain/asset/category.go +++ b/pkg/domain/asset/category.go @@ -1,3 +1,4 @@ +// Package asset provides public types and helpers reusable across the codebase. package asset // Category groups asset types for UI organization and filtering. diff --git a/pkg/domain/assetgroup/entity.go b/pkg/domain/assetgroup/entity.go index 6083d922..5eb98668 100644 --- a/pkg/domain/assetgroup/entity.go +++ b/pkg/domain/assetgroup/entity.go @@ -1,4 +1,4 @@ -// Package asset_group provides domain models for asset group management. +// Package assetgroup provides domain models for asset group management. // Asset groups organize assets for CTEM (Continuous Threat Exposure Management) scoping. package assetgroup diff --git a/pkg/domain/assettype/entity.go b/pkg/domain/assettype/entity.go index 012388bd..0f3f3012 100644 --- a/pkg/domain/assettype/entity.go +++ b/pkg/domain/assettype/entity.go @@ -1,3 +1,4 @@ +// Package assettype provides public types and helpers reusable across the codebase. package assettype import ( diff --git a/pkg/domain/attackerprofile/entity.go b/pkg/domain/attackerprofile/entity.go index fc7e922b..d70586cf 100644 --- a/pkg/domain/attackerprofile/entity.go +++ b/pkg/domain/attackerprofile/entity.go @@ -1,3 +1,4 @@ +// Package attackerprofile provides public types and helpers reusable across the codebase. package attackerprofile import ( diff --git a/pkg/domain/audit/entity.go b/pkg/domain/audit/entity.go index f3811ec9..479142ff 100644 --- a/pkg/domain/audit/entity.go +++ b/pkg/domain/audit/entity.go @@ -1,3 +1,4 @@ +// Package audit provides public types and helpers reusable across the codebase. package audit import ( diff --git a/pkg/domain/branch/branch_type_rules.go b/pkg/domain/branch/branch_type_rules.go index 41e8927b..8e180d25 100644 --- a/pkg/domain/branch/branch_type_rules.go +++ b/pkg/domain/branch/branch_type_rules.go @@ -1,3 +1,4 @@ +// Package branch provides public types and helpers reusable across the codebase. package branch import ( diff --git a/pkg/domain/compensatingcontrol/entity.go b/pkg/domain/compensatingcontrol/entity.go index 5a1d73d7..a2def855 100644 --- a/pkg/domain/compensatingcontrol/entity.go +++ b/pkg/domain/compensatingcontrol/entity.go @@ -1,3 +1,4 @@ +// Package compensatingcontrol provides public types and helpers reusable across the codebase. package compensatingcontrol import ( diff --git a/pkg/domain/ctemcycle/entity.go b/pkg/domain/ctemcycle/entity.go index 2b7df8e6..64cda865 100644 --- a/pkg/domain/ctemcycle/entity.go +++ b/pkg/domain/ctemcycle/entity.go @@ -1,3 +1,4 @@ +// Package ctemcycle provides public types and helpers reusable across the codebase. package ctemcycle import ( diff --git a/pkg/domain/datasource/asset_source.go b/pkg/domain/datasource/asset_source.go index 0f8ec31b..06dce485 100644 --- a/pkg/domain/datasource/asset_source.go +++ b/pkg/domain/datasource/asset_source.go @@ -1,3 +1,4 @@ +// Package datasource provides public types and helpers reusable across the codebase. package datasource import ( diff --git a/pkg/domain/exposure/entity.go b/pkg/domain/exposure/entity.go index fda0b7ce..1a30a76d 100644 --- a/pkg/domain/exposure/entity.go +++ b/pkg/domain/exposure/entity.go @@ -1,3 +1,4 @@ +// Package exposure provides public types and helpers reusable across the codebase. package exposure import ( diff --git a/pkg/domain/findingsource/entity.go b/pkg/domain/findingsource/entity.go index 779c860a..93ac8408 100644 --- a/pkg/domain/findingsource/entity.go +++ b/pkg/domain/findingsource/entity.go @@ -1,3 +1,4 @@ +// Package findingsource provides public types and helpers reusable across the codebase. package findingsource import ( diff --git a/pkg/domain/group/entity.go b/pkg/domain/group/entity.go index 349bbc88..5a106743 100644 --- a/pkg/domain/group/entity.go +++ b/pkg/domain/group/entity.go @@ -1,3 +1,4 @@ +// Package group provides public types and helpers reusable across the codebase. package group import ( diff --git a/pkg/domain/integration/entity.go b/pkg/domain/integration/entity.go index cea808de..52f6a41d 100644 --- a/pkg/domain/integration/entity.go +++ b/pkg/domain/integration/entity.go @@ -1,3 +1,4 @@ +// Package integration provides public types and helpers reusable across the codebase. package integration import ( diff --git a/pkg/domain/module/dependency.go b/pkg/domain/module/dependency.go index a09fd49b..db4c8ffc 100644 --- a/pkg/domain/module/dependency.go +++ b/pkg/domain/module/dependency.go @@ -1,3 +1,4 @@ +// Package module provides public types and helpers reusable across the codebase. package module import "strings" diff --git a/pkg/domain/notification/entity.go b/pkg/domain/notification/entity.go index 59c29f27..3a4685fd 100644 --- a/pkg/domain/notification/entity.go +++ b/pkg/domain/notification/entity.go @@ -1,3 +1,4 @@ +// Package notification provides public types and helpers reusable across the codebase. package notification import ( diff --git a/pkg/domain/permissionset/entity.go b/pkg/domain/permissionset/entity.go index d0292498..b397ca40 100644 --- a/pkg/domain/permissionset/entity.go +++ b/pkg/domain/permissionset/entity.go @@ -1,3 +1,4 @@ +// Package permissionset provides public types and helpers reusable across the codebase. package permissionset import ( diff --git a/pkg/domain/scannertemplate/entity.go b/pkg/domain/scannertemplate/entity.go index ec3eae1a..83338395 100644 --- a/pkg/domain/scannertemplate/entity.go +++ b/pkg/domain/scannertemplate/entity.go @@ -1,4 +1,4 @@ -// Package scanner_template defines the ScannerTemplate domain entity for custom scanner templates. +// Package scannertemplate defines the ScannerTemplate domain entity for custom scanner templates. package scannertemplate import ( diff --git a/pkg/domain/scansession/entity.go b/pkg/domain/scansession/entity.go index ca33d7e4..a84d164d 100644 --- a/pkg/domain/scansession/entity.go +++ b/pkg/domain/scansession/entity.go @@ -1,3 +1,4 @@ +// Package scansession provides public types and helpers reusable across the codebase. package scansession import ( diff --git a/pkg/domain/scope/entity.go b/pkg/domain/scope/entity.go index 385e4c8b..ae6d17ae 100644 --- a/pkg/domain/scope/entity.go +++ b/pkg/domain/scope/entity.go @@ -1,3 +1,4 @@ +// Package scope provides public types and helpers reusable across the codebase. package scope import ( diff --git a/pkg/domain/secretstore/encryption.go b/pkg/domain/secretstore/encryption.go index a15e7884..592c65fd 100644 --- a/pkg/domain/secretstore/encryption.go +++ b/pkg/domain/secretstore/encryption.go @@ -1,3 +1,4 @@ +// Package secretstore provides public types and helpers reusable across the codebase. package secretstore import ( diff --git a/pkg/domain/secretstore/entity.go b/pkg/domain/secretstore/entity.go index 18eb296c..1813310b 100644 --- a/pkg/domain/secretstore/entity.go +++ b/pkg/domain/secretstore/entity.go @@ -1,4 +1,4 @@ -// Package credential defines the Credential domain entity for secure credential storage. +// Package secretstore defines the Credential domain entity for secure credential storage. package secretstore import ( diff --git a/pkg/domain/session/entity.go b/pkg/domain/session/entity.go index d22373b9..28cb3c8f 100644 --- a/pkg/domain/session/entity.go +++ b/pkg/domain/session/entity.go @@ -1,3 +1,4 @@ +// Package session provides public types and helpers reusable across the codebase. package session import ( diff --git a/pkg/domain/sla/entity.go b/pkg/domain/sla/entity.go index b7617ab0..335cf128 100644 --- a/pkg/domain/sla/entity.go +++ b/pkg/domain/sla/entity.go @@ -1,3 +1,4 @@ +// Package sla provides public types and helpers reusable across the codebase. package sla import ( diff --git a/pkg/domain/templatesource/entity.go b/pkg/domain/templatesource/entity.go index 95d45be6..47dc36fb 100644 --- a/pkg/domain/templatesource/entity.go +++ b/pkg/domain/templatesource/entity.go @@ -1,4 +1,4 @@ -// Package template_source defines the TemplateSource domain entity for managing external template sources. +// Package templatesource defines the TemplateSource domain entity for managing external template sources. package templatesource import ( diff --git a/pkg/domain/tenant/asset_lifecycle_settings.go b/pkg/domain/tenant/asset_lifecycle_settings.go index dacd5b18..6cbf3a8a 100644 --- a/pkg/domain/tenant/asset_lifecycle_settings.go +++ b/pkg/domain/tenant/asset_lifecycle_settings.go @@ -1,3 +1,4 @@ +// Package tenant provides public types and helpers reusable across the codebase. package tenant import ( diff --git a/pkg/domain/webhook/entity.go b/pkg/domain/webhook/entity.go index b179e0ea..bf2cb16d 100644 --- a/pkg/domain/webhook/entity.go +++ b/pkg/domain/webhook/entity.go @@ -1,3 +1,4 @@ +// Package webhook provides public types and helpers reusable across the codebase. package webhook import ( diff --git a/pkg/logger/async.go b/pkg/logger/async.go index 5e88023e..34f19f51 100644 --- a/pkg/logger/async.go +++ b/pkg/logger/async.go @@ -1,3 +1,4 @@ +// Package logger provides public types and helpers reusable across the codebase. package logger import (