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 options CleanOptions
} }
// ScanOptions provides options for scanning files. // CleanOptions provides options for scanning files.
type CleanOptions struct { type CleanOptions struct {
Paths []string Paths []string

View file

@ -2,7 +2,7 @@ package models
import "context" import "context"
// FileGetter provides methods to get files by ID. // BlobReader provides methods to get files by ID.
type BlobReader interface { type BlobReader interface {
EntryExists(ctx context.Context, checksum string) (bool, error) EntryExists(ctx context.Context, checksum string) (bool, error)
} }

View file

@ -177,7 +177,7 @@ func NewOptionalBoolPtr(v *bool) OptionalBool {
return OptionalBool{*v, false, true} 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 { type OptionalFloat64 struct {
Value float64 Value float64
Null bool Null bool