Skip to content

Commit

Permalink
run goimports
Browse files Browse the repository at this point in the history
  • Loading branch information
adamcfraser committed Dec 19, 2024
1 parent 8c58ed5 commit 1e2090d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions collection+xattrs.go
Original file line number Diff line number Diff line change
Expand Up @@ -477,12 +477,12 @@ func checkCasXattr(existingCas, expectedCas *CAS, opts writeXattrOptions) error

// Swiss Army knife method for modifying a document xattr, with or without changing the body.
func (c *Collection) writeWithXattrs(
key string, // doc key
val *payload, // if non-nil, updates doc body; a nil payload means delete
xattrsPayload map[string]payload, // xattr key/val; a nil payload deletes the xattr
ifCas *CAS, // if non-nil, must match current CAS; 0 for insert
exp *Exp, // if non-nil, sets expiration to this value
opts writeXattrOptions, // option flags
key string, // doc key
val *payload, // if non-nil, updates doc body; a nil payload means delete
xattrsPayload map[string]payload, // xattr key/val; a nil payload deletes the xattr
ifCas *CAS, // if non-nil, must match current CAS; 0 for insert
exp *Exp, // if non-nil, sets expiration to this value
opts writeXattrOptions, // option flags
mutateOpts *sgbucket.MutateInOptions, // expiry and macro expansion options
) (casOut CAS, err error) {
parsedXattrs := make(map[string]any, len(xattrsPayload))
Expand Down

0 comments on commit 1e2090d

Please sign in to comment.