Registry / serialization / emersion-go-vcard

emersion-go-vcard

JSON →
library0.0.0-20230815062825-8fda7d206ec9gogounverified

Package vcard implements the vCard format, defined in RFC 6350.

go get github.com/emersion/go-vcard
INSTALL
IMPORT
SIG · EMERSION-GO-VCARD
E
emersion-go-vcard
serializationgov0.0.0-20230815062825-8fda7d206ec9
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

vcard
github.com/emersion/go-vcard

Decode a vCard string and print the formatted name.

package main import ( "fmt" "strings" "github.com/emersion/go-vcard" ) func main() { input := "BEGIN:VCARD\nVERSION:4.0\nFN:John Doe\nEND:VCARD" decoder := vcard.NewDecoder(strings.NewReader(input)) card, err := decoder.Decode() if err != nil { panic(err) } fmt.Println(card.Name) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20230815062825-8fda7d206ec9latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
emersion-go-vcard — go get emersion-go-vcard · libregistry