netscape

package
v0.0.0-...-099dad8 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bookmark

type Bookmark struct {
	URL          string
	AddedDate    string
	LastModified string
	Description  string
	Title        string
	Tags         []string
	// Categories is a flat tree of the categories the bookmark is part of.
	// The first category is the top-most, the second a subcategory and so on.
	Categories []*Category
}

Bookmark is a bookmark entry.

func Unmarshal

func Unmarshal(reader io.Reader) ([]*Bookmark, error)

Unmarshal unmarshals the NETSCAPE-Bookmark-file-1 format

type Category

type Category struct {
	Title        string
	AddedDate    string
	LastModified string
}

Category is a category of a bookmark.

Jump to

Keyboard shortcuts

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