Skip to content

A minimal library to manipulate vCard files using Golang

License

Notifications You must be signed in to change notification settings

mapaiva/vcard-go

Repository files navigation

build

vcard-go

A minimal library to manipulate VCard file using Golang. This library is based on RFC6350.

Installation

git clone https://github.com/mapaiva/vcard-go.git
cd vcard-go
make install

Usage

import (
	"github.com/mapaiva/vcard-go"
	"log"
)

func main() {
	cards, err := vcard.GetVCards("~/contacts.vcf")

	if err != nil {
		log.Fatal(err)
	}

	log.Println(cards)
}

Testing

make test

Lint

make lint

Documentation

Complete documentation available on https://godoc.org/github.com/mapaiva/vcard-go.

About

A minimal library to manipulate vCard files using Golang

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •