paragraph

package
v1.0.1-0...-579fab2 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BodyChopper

type BodyChopper struct {
	MaxBodyPartLen int
	Fallback       wiki.BodyChopper
}

func (BodyChopper) FetchBodyPart

func (c BodyChopper) FetchBodyPart(body string, currentPositionWithinSectionBody int) string

func (BodyChopper) MoveToNextBodyPart

func (c BodyChopper) MoveToNextBodyPart(body string, currentPosition int, currentPositionWithinSectionBody int) (newPosition int, newPositionWithinSectionBody int)

Jump to

Keyboard shortcuts

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