plist

package
v2.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2026 License: Apache-2.0 Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package plist provides a parser for XML-formatted plist documents. Binary plist is not supported.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Array

type Array []Value

Array represents an array.

func (*Array) UnmarshalXML

func (a *Array) UnmarshalXML(dec *xml.Decoder, start xml.StartElement) error

type Dict

type Dict map[string]Value

Dict represents a dict.

func (*Dict) UnmarshalXML

func (d *Dict) UnmarshalXML(dec *xml.Decoder, start xml.StartElement) error

type Plist

type Plist struct {
	Value Value
}

Plist represents a plist document.

func (*Plist) UnmarshalXML

func (p *Plist) UnmarshalXML(dec *xml.Decoder, start xml.StartElement) error

type Value

type Value struct {
	Array Array
	Dict  Dict

	String *string
	Data   []byte
	Date   *time.Time

	Boolean *bool
	Real    *float64
	Integer *int64
}

Value represents a value.

func (*Value) UnmarshalXML

func (v *Value) UnmarshalXML(dec *xml.Decoder, start xml.StartElement) error

Jump to

Keyboard shortcuts

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