Documentation
¶
Index ¶
- Variables
- func CreateCard() vcard.Card
- func CreateQRCode(card vcard.Card, settings config.QRCodeSettings) image.Image
- func CreateVersionProvider() *testVersionProvider
- func EncodeCard(card vcard.Card) []byte
- func LoadTestSettings() configcli.CLIFileSettings
- func NormalizeNewLines(s string) string
- func ToRGBA(img image.Image) *image.RGBA
Constants ¶
This section is empty.
Variables ¶
View Source
var ExpectedVCF = NormalizeNewLines(`BEGIN:VCARD
VERSION:3.0
ADR:Post office box;Extended street address;Street address;City;;Postal code;Country
EMAIL:Email address
GENDER:N
N:Family name;Given name;Additional name;Honorific prefix;Honorific suffix
ORG:Organization or company;Department
TEL;TYPE=cell:Cell phone
TEL;TYPE=work:Work phone
TEL;TYPE=home:Home phone
TITLE:Job title
URL:Web address
END:VCARD
`)
Functions ¶
func CreateCard ¶
func CreateQRCode ¶
func CreateVersionProvider ¶
func CreateVersionProvider() *testVersionProvider
func EncodeCard ¶
func LoadTestSettings ¶
func LoadTestSettings() configcli.CLIFileSettings
func NormalizeNewLines ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.