mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 10:27:06 +00:00
minor
This commit is contained in:
@@ -2,5 +2,5 @@ package jsonx
|
||||
|
||||
// Exampler is an interface used by testing to generate examples.
|
||||
type Exampler interface {
|
||||
ListExamples() []string
|
||||
ListExamples() any
|
||||
}
|
||||
|
||||
@@ -116,7 +116,7 @@ func (t ISO8601) MarshalJSON() ([]byte, error) {
|
||||
}
|
||||
|
||||
// Examples returns a list of example values.
|
||||
func (t ISO8601) ListExamples() []string {
|
||||
func (t ISO8601) ListExamples() any {
|
||||
return []string{
|
||||
"2006-01-02T15:04:05",
|
||||
"2022-08-09T00:00:00.000000",
|
||||
|
||||
Reference in New Issue
Block a user