diff --git a/os/gtime/gtime_format.go b/os/gtime/gtime_format.go index fd1d214bac9..9214e4b2125 100644 --- a/os/gtime/gtime_format.go +++ b/os/gtime/gtime_format.go @@ -67,6 +67,7 @@ var ( ) // Format formats and returns the formatted result with custom `format`. +// Refer method Layout, if you want to follow stdlib layout. func (t *Time) Format(format string) string { if t == nil { return ""