perf: apply fieldalignement (#1284)

This commit is contained in:
Jason Cameron 2025-11-16 15:43:07 -05:00 committed by GitHub
parent da1890380e
commit 9dd4de6f1f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 90 additions and 94 deletions

View file

@ -88,8 +88,8 @@ func (Factory) Valid(data json.RawMessage) error {
}
type Config struct {
PathStyle bool `json:"pathStyle"`
BucketName string `json:"bucketName"`
PathStyle bool `json:"pathStyle"`
}
func (c Config) Valid() error {

View file

@ -17,10 +17,10 @@ import (
// mockS3 is an in-memory mock of the methods we use.
type mockS3 struct {
mu sync.RWMutex
bucket string
data map[string][]byte
meta map[string]map[string]string
bucket string
mu sync.RWMutex
}
func (m *mockS3) PutObject(ctx context.Context, in *s3.PutObjectInput, _ ...func(*s3.Options)) (*s3.PutObjectOutput, error) {