Skip to content

Commit 625fc35

Browse files
committed
update README.md
1 parent 75db961 commit 625fc35

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

README.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,18 +42,14 @@ import reading "github.com/edoardottt/go-readingtime"
4242

4343
func main() {
4444
t := reading.RawEstimate(`Lorem ipsum dolor sit amet, consectetur...`)
45-
fmt.Println(t)
45+
fmt.Println(t) // 2m0s
4646

4747
t := reading.Estimate(`Lorem ipsum dolor sit amet, consectetur...`)
48-
fmt.Println(t)
48+
fmt.Println(t) // 2 minutes
4949
}
5050
```
5151

52-
Output:
53-
54-
```console
55-
56-
```
52+
Read the [`package documentation here`](https://pkg.go.dev/github.com/edoardottt/go-readingtime).
5753

5854
Changelog 📌
5955
-------

0 commit comments

Comments
 (0)