parser

package
v0.0.0-...-05caa3f Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PrayerParser

type PrayerParser struct {
	// contains filtered or unexported fields
}

PrayerParser is responsible for parsing the prayer schedule. It also saves the schedule to the database.

func NewPrayerParser

func NewPrayerParser(
	path string,
	pr app.PrayerRepository,
	loc *time.Location,
) *PrayerParser

func (*PrayerParser) LoadSchedule

func (p *PrayerParser) LoadSchedule(ctx context.Context) error

LoadSchedule parses the prayer schedule and saves it to the database.

type ScriptParser

type ScriptParser struct {
	// contains filtered or unexported fields
}

func NewScriptParser

func NewScriptParser(path string, scr app.ScriptRepository) *ScriptParser

func (*ScriptParser) Parse

func (p *ScriptParser) Parse() error

Jump to

Keyboard shortcuts

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