modulepackage
0.0.0-20181126021357-36960be5e636
Repository: https://github.com/fork2fix/go-plist.git
Documentation: pkg.go.dev
# README
plist - A pure Go property list transcoder 
INSTALL
$ go get howett.net/plist
FEATURES
- Supports encoding/decoding property lists (Apple XML, Apple Binary, OpenStep and GNUStep) from/to arbitrary Go types
USE
package main
import (
"howett.net/plist"
"os"
)
func main() {
encoder := plist.NewEncoder(os.Stdout)
encoder.Encode(map[string]string{"hello": "world"})
}
# Packages
No description provided by the author
# Functions
Marshal returns the property list encoding of v in the specified format.
MarshalIndent works like Marshal, but each property list element begins on a new line and is preceded by one or more copies of indent according to its nesting depth.
NewBinaryEncoder returns an Encoder that writes a binary property list to w.
NewDecoder returns a Decoder that reads property list elements from a stream reader, r.
NewEncoder returns an Encoder that writes an XML property list to w.
NewEncoderForFormat returns an Encoder that writes a property list to w in the specified format.
Unmarshal parses a property list document and stores the result in the value pointed to by v.
# Constants
Used to indicate total abandon with regards to Encoder's output format.
Property list format constants.
Property list format constants.
Used by Decoder to represent an invalid property list.
Property list format constants.
Property list format constants.
# Variables
No description provided by the author
# Interfaces
Marshaler is the interface implemented by types that can marshal themselves into valid property list objects.
Unmarshaler is the interface implemented by types that can unmarshal themselves from property list objects.
# Type aliases
A UID represents a unique object identifier.