bookmark

package
v0.0.0-...-ae58740 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2021 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package bookmark parses Netscape-style HTML bookmark files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bookmark

type Bookmark struct {
	Title   string
	URL     string
	AddDate time.Time
	IconURI string
}

type BookmarkEntry

type BookmarkEntry interface{} // BookmarkFolder or Bookmark

func ParseHTML

func ParseHTML(r io.Reader) ([]BookmarkEntry, error)

ParseHTML parses a Netscape-style HTML bookmark file.

type BookmarkFolder

type BookmarkFolder struct {
	Title        string
	AddDate      time.Time
	LastModified time.Time
	Entries      []BookmarkEntry
}

Jump to

Keyboard shortcuts

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