A minimal library to manipulate VCard file using Golang. This library is based on RFC6350.
git clone https://github.com/mapaiva/vcard-go.git
cd vcard-go
make install
import (
"github.com/mapaiva/vcard-go"
"log"
)
func main() {
cards, err := vcard.GetVCards("~/contacts.vcf")
if err != nil {
log.Fatal(err)
}
log.Println(cards)
}
make test
make lint
Complete documentation available on https://godoc.org/github.com/mapaiva/vcard-go.