Skip to content

Commit 6286329

Browse files
committed
Add a little bit more description to Time type
1 parent ff937cd commit 6286329

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

time.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ func FromGoTime(t time.Time) Time {
88
}
99

1010
// Time is a custom Time type that can be used during a parsing process.
11-
// To convert to `time.Time“ use `timeVariable.GoTime()` function.
11+
// This Time type meant to be used during parsing type.
12+
// It extends all default behaviour from time.Time, but one method `GoTime` added to get time.Time.
1213
type Time struct {
1314
time.Time
1415
}

0 commit comments

Comments
 (0)