diff --git a/internal/oci/spec.go b/internal/oci/spec.go index 5b2b3de1..bfd7465f 100644 --- a/internal/oci/spec.go +++ b/internal/oci/spec.go @@ -30,8 +30,9 @@ type SpecModifier interface { Modify(*specs.Spec) error } -//go:generate moq -stub -out spec_mock.go . Spec // Spec defines the operations to be performed on an OCI specification +// +//go:generate moq -stub -out spec_mock.go . Spec type Spec interface { Load() (*specs.Spec, error) Flush() error diff --git a/internal/requirements/constraints/constraints.go b/internal/requirements/constraints/constraints.go index 48e5310a..77b23dc8 100644 --- a/internal/requirements/constraints/constraints.go +++ b/internal/requirements/constraints/constraints.go @@ -16,8 +16,9 @@ package constraints -//go:generate moq -stub -out constraint_mock.go . Constraint // Constraint represents a constraint that is to be evaluated +// +//go:generate moq -stub -out constraint_mock.go . Constraint type Constraint interface { String() string Assert() error diff --git a/internal/requirements/constraints/property.go b/internal/requirements/constraints/property.go index 852b2b40..9dc90dbc 100644 --- a/internal/requirements/constraints/property.go +++ b/internal/requirements/constraints/property.go @@ -23,8 +23,9 @@ import ( "golang.org/x/mod/semver" ) -//go:generate moq -stub -out property_mock.go . Property // Property represents a property that is used to check requirements +// +//go:generate moq -stub -out property_mock.go . Property type Property interface { Name() string Value() (string, error)