Categorygithub.com/virtualtam/opml-go
modulepackage
1.2.0
Repository: https://github.com/virtualtam/opml-go.git
Documentation: pkg.go.dev

# README

opml-go - Parse and export OPML outline files

Continuous integration workflow status

opml-go provides a library to marshal and unmarshal outlines using the Outline Processor Markup Language (OPML) 2.0 format.

Usage

See examples under:

  • example_marshal_test.go to create an OPML document and marshal it to XML;
  • example_unmarshal_test.go to read a file containing an OPML document.

Change Log

See CHANGELOG

License

opml-go is licensed under the MIT License.

# Packages

No description provided by the author

# Functions

AssertDocumentsEqual asserts two OPML documents are equal.
AssertOutlinesEqual asserts two lists of OPML outlines are equal.
Marshal returns the XML encoding of a Document.
Unmarshal unmarshals a []byte representation of an OPML file and returns the corresponding Document.
UnmarshalFile unmarshals an OPML file and returns the corresponding Document.
Unmarshal unmarshals a string representation of an OPML file and returns the corresponding Document.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

A Body contains one or more Outline elements.
A Document represents an OPML Document.
A Head contains the metadata for the OPML Document.
An Outline represents a text element, a subscription list item or a directory.

# Type aliases

No description provided by the author
No description provided by the author