Popularity
4.6
Stable
Activity
4.4
-
97
6
32

Programming language: Go
License: MIT License

go-vcard alternatives and similar packages

Based on the "Specific Formats" category.
Alternatively, view go-vcard alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of go-vcard or a related project?

Add another 'Specific Formats' Package

README

go-vcard

GoDoc Build Status codecov

A Go library to parse and format vCard.

Usage

f, err := os.Open("cards.vcf")
if err != nil {
    log.Fatal(err)
}
defer f.Close()

dec := vcard.NewDecoder(f)
for {
    card, err := dec.Decode()
    if err == io.EOF {
        break
    } else if err != nil {
        log.Fatal(err)
    }

    log.Println(card.PreferredValue(vcard.FieldFormattedName))
}

License

MIT


*Note that all licence references and agreements mentioned in the go-vcard README section above are relevant to that project's source code only.