Skip to content

Commit 6a898e3

Browse files
Add IsNullable comment
1 parent 05d214e commit 6a898e3

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

internal/qmp-gen/templates/main

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ import (
2121
"fmt"
2222
)
2323

24-
type isNullable interface {
24+
// IsNullable is implemented by any
25+
// JSON null type
26+
type IsNullable interface {
2527
isNull() bool
2628
}
2729

qmp/raw/autogen.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ import (
2121
"fmt"
2222
)
2323

24-
type isNullable interface {
24+
// IsNullable is implemented by any
25+
// JSON null type
26+
type IsNullable interface {
2527
isNull() bool
2628
}
2729

0 commit comments

Comments
 (0)