Skip to content

Commit 30a789e

Browse files
committed
fixed compile error
1 parent 2c7dd6f commit 30a789e

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

internal/params/parameters.go

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -301,16 +301,16 @@ func (p *Parameter) YSON(v []byte) Builder {
301301
////func (p *Parameter) UUID(v [16]byte) Builder {
302302
//// return p.UUIDWithIssue1501Value(v)
303303
////}
304-
//
305-
//// UUIDWithIssue1501Value is field serializer for save data with format bug.
306-
//// For any new code use Uuid
307-
//// https://github.com/ydb-platform/ydb-go-sdk/issues/1501
308-
//func (p *Parameter) UUIDWithIssue1501Value(v [16]byte) Builder {
309-
// p.value = value.UUIDWithIssue1501Value(v)
310-
// p.parent.params = append(p.parent.params, p)
311-
//
312-
// return p.parent
313-
//}
304+
305+
// UUIDWithIssue1501Value is field serializer for save data with format bug.
306+
// For any new code use Uuid
307+
// https://github.com/ydb-platform/ydb-go-sdk/issues/1501
308+
func (p *Parameter) UUIDWithIssue1501Value(v [16]byte) Builder {
309+
p.value = value.UUIDWithIssue1501Value(v)
310+
p.parent.params = append(p.parent.params, p)
311+
312+
return p.parent
313+
}
314314

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

0 commit comments

Comments
 (0)