Skip to content

Commit

Permalink
docs: readme
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Sep 12, 2023
1 parent f739df8 commit 56d0827
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ import (
)

func main() {
fmt.Println(timeago.Of(time.Now().Add(-5 * time.Second)))
// 5 seconds ago
fmt.Println(timeago.Of(time.Now().Add(-5 * time.Second))) // 5 seconds ago
fmt.Println(timeago.Of(time.Now().Add(5 * time.Second))) // 5 seconds from now
}
```

Expand Down

0 comments on commit 56d0827

Please sign in to comment.