Skip to content

Commit f8f3b64

Browse files
authored
Bump Go version to 1.24.4 (#125)
1 parent 9b89747 commit f8f3b64

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

cmd/tools/genvisitor/tree.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func (t *Tree) dump(out io.Writer, depth int) {
6767
for f, ch := range t.Children {
6868
vt := t.Types[f]
6969
_, isoneof := vt.Descriptor.(protoreflect.OneofDescriptor)
70-
writef(out, indent)
70+
write(out, indent)
7171
if isoneof {
7272
writef(out, " oneof")
7373
}

cmd/tools/genvisitor/util.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,10 @@ func writef(out io.Writer, msg string, args ...any) {
5454
panic(err)
5555
}
5656
}
57+
58+
func write(out io.Writer, args ...any) {
59+
_, err := fmt.Fprint(out, args...)
60+
if err != nil {
61+
panic(err)
62+
}
63+
}

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/temporalio/s2s-proxy
22

3-
go 1.23.4
3+
go 1.24.4
44

55
require (
66
github.com/gogo/protobuf v1.3.2

0 commit comments

Comments
 (0)