Skip to content

Commit 4c25d4a

Browse files
web3-botgalargh
andauthored
ci: uci/update-go (#281)
* chore!: bump go.mod to Go 1.23 and run go fix BREAKING CHANGE: Updating the Go version to 1.23 * chore: replace ptrto with pointerto --------- Co-authored-by: Piotr Galar <piotr.galar@gmail.com>
1 parent a32ea33 commit 4c25d4a

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

encoding.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ func MakeTypedEncoder(f interface{}) func(*Request) func(io.Writer) Encoder {
9999
if valTypeIsPtr {
100100
valTypeAlt = valType.Elem()
101101
} else {
102-
valTypeAlt = reflect.PtrTo(valType)
102+
valTypeAlt = reflect.PointerTo(valType)
103103
}
104104

105105
return MakeEncoder(func(req *Request, w io.Writer, i interface{}) error {

go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module github.com/ipfs/go-ipfs-cmds
22

3-
go 1.22.0
4-
5-
toolchain go1.22.8
3+
go 1.23
64

75
require (
86
github.com/ipfs/boxo v0.24.2

0 commit comments

Comments
 (0)