Skip to content

Commit 29637da

Browse files
committed
minor
1 parent 21fa567 commit 29637da

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

x/jsonx/exampler.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ package jsonx
22

33
// Exampler is an interface used by testing to generate examples.
44
type Exampler interface {
5-
ListExamples() []string
5+
ListExamples() any
66
}

x/jsonx/iso8601.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ func (t ISO8601) MarshalJSON() ([]byte, error) {
116116
}
117117

118118
// Examples returns a list of example values.
119-
func (t ISO8601) ListExamples() []string {
119+
func (t ISO8601) ListExamples() any {
120120
return []string{
121121
"2006-01-02T15:04:05",
122122
"2022-08-09T00:00:00.000000",

0 commit comments

Comments
 (0)