m3u

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2025 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(r io.Reader) *lex

Types

type Tag

type Tag struct {
	Name string
	Flag map[string]Value
	Keys []string
	Arg  []Value
	Line []string
}

func Parse

func Parse(r io.Reader) (t []Tag, err error)

func (Tag) String

func (t Tag) String() string

func (Tag) Value

func (t Tag) Value(key string) (val string)

type Value

type Value struct {
	V     string
	Quote bool
}

func (Value) String

func (v Value) String() string

Jump to

Keyboard shortcuts

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