{"modulePath":"github.com/GoCodeAlone/workflow","version":"v0.66.0","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package community\n\n## Types\n\n```go\ntype CheckResult struct {\n\tName    string `json:\"name\"`\n\tPassed  bool   `json:\"passed\"`\n\tMessage string `json:\"message,omitempty\"`\n}\n```\nCheckResult represents the outcome of a single validation check.\n\n```go\ntype ReviewChecklist struct {\n\tPluginName string       `json:\"plugin_name\"`\n\tVersion    string       `json:\"version\"`\n\tItems      []ReviewItem `json:\"items\"`\n}\n```\nReviewChecklist is a structured checklist for plugin code review.\n\n```go\nfunc NewReviewChecklist(manifest *plugin.PluginManifest) *ReviewChecklist\n```\nNewReviewChecklist creates a standard review checklist for a plugin.\n\n```go\nfunc (rc *ReviewChecklist) PassedRequired() bool\n```\nPassedRequired returns true if all required items are marked as passed.\n\n```go\nfunc (rc *ReviewChecklist) Summary() string\n```\nSummary returns a textual summary of the review.\n\n```go\ntype ReviewItem struct {\n\tCategory    string `json:\"category\"`\n\tDescription string `json:\"description\"`\n\tRequired    bool   `json:\"required\"`\n\tPassed      bool   `json:\"passed\"`\n\tNotes       string `json:\"notes,omitempty\"`\n}\n```\nReviewItem is a single item in the review checklist.\n\n```go\ntype SubmissionValidator struct{}\n```\nSubmissionValidator validates plugin submissions for community contributions.\n\n```go\nfunc NewSubmissionValidator() *SubmissionValidator\n```\nNewSubmissionValidator creates a new SubmissionValidator.\n\n```go\nfunc (v *SubmissionValidator) ValidateDirectory(dir string) (*ValidationResult, error)\n```\nValidateDirectory validates a plugin directory for community submission.\n\n```go\ntype ValidationResult struct {\n\tValid  bool          `json:\"valid\"`\n\tChecks []CheckResult `json:\"checks\"`\n}\n```\nValidationResult holds the full outcome of submission validation.\n\n","path":"github.com/GoCodeAlone/workflow/plugin/community","name":"community","synopsis":"","isRedistributable":true}
