chore: fix struct names (#4766)

Signed-off-by: hidewrong <hidewrong@outlook.com>
This commit is contained in:
hidewrong 2024-05-02 10:04:54 +08:00 committed by GitHub
parent 157b2e7bae
commit 4c0d9d0a07
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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)
}

View File

@ -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