community

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2026 License: MIT Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckResult

type CheckResult struct {
	Name    string `json:"name"`
	Passed  bool   `json:"passed"`
	Message string `json:"message,omitempty"`
}

CheckResult represents the outcome of a single validation check.

type ReviewChecklist

type ReviewChecklist struct {
	PluginName string       `json:"plugin_name"`
	Version    string       `json:"version"`
	Items      []ReviewItem `json:"items"`
}

ReviewChecklist is a structured checklist for plugin code review.

func NewReviewChecklist

func NewReviewChecklist(manifest *plugin.PluginManifest) *ReviewChecklist

NewReviewChecklist creates a standard review checklist for a plugin.

func (*ReviewChecklist) PassedRequired

func (rc *ReviewChecklist) PassedRequired() bool

PassedRequired returns true if all required items are marked as passed.

func (*ReviewChecklist) Summary

func (rc *ReviewChecklist) Summary() string

Summary returns a textual summary of the review.

type ReviewItem

type ReviewItem struct {
	Category    string `json:"category"`
	Description string `json:"description"`
	Required    bool   `json:"required"`
	Passed      bool   `json:"passed"`
	Notes       string `json:"notes,omitempty"`
}

ReviewItem is a single item in the review checklist.

type SubmissionValidator

type SubmissionValidator struct{}

SubmissionValidator validates plugin submissions for community contributions.

func NewSubmissionValidator

func NewSubmissionValidator() *SubmissionValidator

NewSubmissionValidator creates a new SubmissionValidator.

func (*SubmissionValidator) ValidateDirectory

func (v *SubmissionValidator) ValidateDirectory(dir string) (*ValidationResult, error)

ValidateDirectory validates a plugin directory for community submission.

type ValidationResult

type ValidationResult struct {
	Valid  bool          `json:"valid"`
	Checks []CheckResult `json:"checks"`
}

ValidationResult holds the full outcome of submission validation.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL