Skip to content

A minimal library to manipulate vCard files using Golang

License

Notifications You must be signed in to change notification settings

patihomirov/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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 98.4%
  • Makefile 1.6%