Skip to content

Commit

Permalink
fixed compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
rekby committed Oct 23, 2024
1 parent 2c7dd6f commit 30a789e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions internal/params/parameters.go
Original file line number Diff line number Diff line change
Expand Up @@ -301,16 +301,16 @@ func (p *Parameter) YSON(v []byte) Builder {
////func (p *Parameter) UUID(v [16]byte) Builder {
//// return p.UUIDWithIssue1501Value(v)
////}
//
//// UUIDWithIssue1501Value is field serializer for save data with format bug.
//// For any new code use Uuid
//// https://github.com/ydb-platform/ydb-go-sdk/issues/1501
//func (p *Parameter) UUIDWithIssue1501Value(v [16]byte) Builder {
// p.value = value.UUIDWithIssue1501Value(v)
// p.parent.params = append(p.parent.params, p)
//
// return p.parent
//}

// UUIDWithIssue1501Value is field serializer for save data with format bug.
// For any new code use Uuid
// https://github.com/ydb-platform/ydb-go-sdk/issues/1501
func (p *Parameter) UUIDWithIssue1501Value(v [16]byte) Builder {
p.value = value.UUIDWithIssue1501Value(v)
p.parent.params = append(p.parent.params, p)

return p.parent
}

func (p *Parameter) Uuid(val uuid.UUID) Builder { //nolint:revive,stylecheck
p.value = value.Uuid(val)
Expand Down

0 comments on commit 30a789e

Please sign in to comment.