parser

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2023 License: 0BSD Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SubLine

type SubLine struct {
	Index     string
	StartTime string
	EndTime   string
	Text      string
}

func ParseAss

func ParseAss(filename string) ([]SubLine, error)

func ParseAssEvent

func ParseAssEvent(line string) (SubLine, error)

func ParseSrt

func ParseSrt(filename string) ([]SubLine, error)

func ParseSub

func ParseSub(filename string) ([]SubLine, error)

func (SubLine) Format

func (line SubLine) Format() string

Jump to

Keyboard shortcuts

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