From aefcfecfee7b94e5bffafb07bab6cdfc4733b60b Mon Sep 17 00:00:00 2001 From: Daryl Ng Date: Thu, 2 Apr 2020 16:13:10 +0800 Subject: [PATCH] Update README.md --- README.md | 5 +++-- flatten.go | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b8194db..173be5e 100644 --- a/README.md +++ b/README.md @@ -8,8 +8,9 @@ ```go var TimeFormat = time.RFC3339Nano ``` -TimeFormat defines default time format when unmarshalling time.Time Override -this to unmarshal time.Time to a different format +TimeFormat defines default time format when unmarshalling time.Time + +Override this to unmarshal time.Time to a different format #### func Struct diff --git a/flatten.go b/flatten.go index 1cef66f..4bd6dfc 100644 --- a/flatten.go +++ b/flatten.go @@ -8,6 +8,7 @@ import ( ) // TimeFormat defines default time format when unmarshalling time.Time +// // Override this to unmarshal time.Time to a different format var TimeFormat = time.RFC3339Nano