diff --git a/pkg/file/clean.go b/pkg/file/clean.go index 47d84cf13..8c54fd0e0 100644 --- a/pkg/file/clean.go +++ b/pkg/file/clean.go @@ -28,7 +28,7 @@ type cleanJob struct { options CleanOptions } -// ScanOptions provides options for scanning files. +// CleanOptions provides options for scanning files. type CleanOptions struct { Paths []string diff --git a/pkg/models/repository_blob.go b/pkg/models/repository_blob.go index b5a87bcc9..3041d7064 100644 --- a/pkg/models/repository_blob.go +++ b/pkg/models/repository_blob.go @@ -2,7 +2,7 @@ package models import "context" -// FileGetter provides methods to get files by ID. +// BlobReader provides methods to get files by ID. type BlobReader interface { EntryExists(ctx context.Context, checksum string) (bool, error) } diff --git a/pkg/models/value.go b/pkg/models/value.go index 356d65293..a0e94ee6b 100644 --- a/pkg/models/value.go +++ b/pkg/models/value.go @@ -177,7 +177,7 @@ func NewOptionalBoolPtr(v *bool) OptionalBool { return OptionalBool{*v, false, true} } -// OptionalBool represents an optional float64 argument that may be null. See OptionalString. +// OptionalFloat64 represents an optional float64 argument that may be null. See OptionalString. type OptionalFloat64 struct { Value float64 Null bool