mirror of
https://github.com/iLoveElysia/openbilibili.git
synced 2026-03-14 05:46:26 -05:00
22 lines
534 B
Markdown
22 lines
534 B
Markdown
|
|
# plist - A pure Go property list transcoder [](https://gitlab.howett.net/go/plist/commits/master)
|
||
|
|
## 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
|
||
|
|
```go
|
||
|
|
package main
|
||
|
|
import (
|
||
|
|
"howett.net/plist"
|
||
|
|
"os"
|
||
|
|
)
|
||
|
|
func main() {
|
||
|
|
encoder := plist.NewEncoder(os.Stdout)
|
||
|
|
encoder.Encode(map[string]string{"hello": "world"})
|
||
|
|
}
|
||
|
|
```
|