Skip to content

Commit 7962062

Browse files
committed
typed string
1 parent 957facc commit 7962062

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

registry.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ import (
1414

1515
const (
1616
TopicRegisterTool string = "polaris:tool:register"
17-
TopicUnregisterTool = "polaris:tool:unregister"
18-
TopicToolKeepalive = "polaris:tool:keepalive"
19-
TopicListTool = "polaris:tool:list"
17+
TopicUnregisterTool string = "polaris:tool:unregister"
18+
TopicToolKeepalive string = "polaris:tool:keepalive"
19+
TopicListTool string = "polaris:tool:list"
2020
)
2121

2222
type toolDeclareWithDeadline struct {

tool.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ type NullableType string
66

77
const (
88
NullableYes NullableType = "yes"
9-
NullableNo = "no"
9+
NullableNo NullableType = "no"
1010
)
1111

1212
func (n NullableType) Nullable() bool {

0 commit comments

Comments
 (0)