readingtime

package
v2.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package readtime provides a function to estimate the reading time of an article.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EstimateReadingTime

func EstimateReadingTime(content string, defaultReadingSpeed, cjkReadingSpeed int) int

EstimateReadingTime returns the estimated reading time of an article in minute.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL