history

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: May 15, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

history

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReadingHistory

type ReadingHistory map[string]int

ReadingHistory key is the base filename of book, value is the starting line

var History ReadingHistory

func (ReadingHistory) GetStartLine

func (h ReadingHistory) GetStartLine(bookpath string) int

func (ReadingHistory) Load

func (h ReadingHistory) Load() error

func (ReadingHistory) Save

func (h ReadingHistory) Save() error

func (ReadingHistory) Update

func (h ReadingHistory) Update(bookpath string, startline int)

Jump to

Keyboard shortcuts

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