Skip to content

Commit 2a445c0

Browse files
Merge pull request #31 from pepabo/dependabot/go_modules/github.com/goccy/go-yaml-1.19.1
build(deps): bump github.com/goccy/go-yaml from 1.19.0 to 1.19.1
2 parents cd7c423 + 5ec88b2 commit 2a445c0

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/pepabo/onecli
33
go 1.24
44

55
require (
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

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g=
22
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
33
github.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=
66
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
77
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
88
github.com/onelogin/onelogin-go-sdk/v4 v4.7.0 h1:iPVoGBK8RgjvYD0FzndIulbG7b0vdUfNdQKIPiDcU7w=

utils/output.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)