File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ module github.com/pepabo/onecli
33go 1.24
44
55require (
6- github.com/goccy/go-yaml v1.19.0
6+ github.com/goccy/go-yaml v1.19.1
77 github.com/onelogin/onelogin-go-sdk/v4 v4.7.0
88 github.com/spf13/cobra v1.10.2
99 github.com/stretchr/testify v1.11.1
Original file line number Diff line number Diff line change 11github.com/cpuguy83/go-md2man/v2 v2.0.6 /go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g =
22github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c =
33github.com/davecgh/go-spew v1.1.1 /go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38 =
4- github.com/goccy/go-yaml v1.19.0 h1:EmkZ9RIsX+Uq4DYFowegAuJo8+xdX3T/2dwNPXbxEYE =
5- github.com/goccy/go-yaml v1.19.0 /go.mod h1:XBurs7gK8ATbW4ZPGKgcbrY1Br56PdM69F7LkFRi1kA =
4+ github.com/goccy/go-yaml v1.19.1 h1:3rG3+v8pkhRqoQ/88NYNMHYVGYztCOCIZ7UQhu7H+NE =
5+ github.com/goccy/go-yaml v1.19.1 /go.mod h1:XBurs7gK8ATbW4ZPGKgcbrY1Br56PdM69F7LkFRi1kA =
66github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8 =
77github.com/inconshreveable/mousetrap v1.1.0 /go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw =
88github.com/onelogin/onelogin-go-sdk/v4 v4.7.0 h1:iPVoGBK8RgjvYD0FzndIulbG7b0vdUfNdQKIPiDcU7w =
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ func formatFieldValue(field reflect.Value) string {
118118 return strconv .FormatBool (field .Bool ())
119119 case reflect .Struct :
120120 // time.Timeの場合はRFC3339形式で出力
121- if field .Type () == reflect .TypeOf ( time.Time {} ) {
121+ if field .Type () == reflect .TypeFor [ time.Time ]( ) {
122122 t := field .Interface ().(time.Time )
123123 return t .Format (time .RFC3339 )
124124 }
You can’t perform that action at this time.
0 commit comments