README

go-emv-code CircleCI codecov GoDoc Go Report Card

go-emv-code is a Encoder/Decoder implementation for generate EMV®1 compliant QR Code2 in Go.

Usage

See example.

TODO

  • Add Encoder/Decoder implementation for Consumer Presented Mode.

Contribution

Please read the CLA carefully before submitting your contribution to Mercari. Under any circumstances, by submitting your contribution, you are deemed to accept and agree to be bound by the terms and conditions of the CLA.

https://www.mercari.com/cla/

Setup environment & Run tests
  • requirements
    • Go version must be at least 1.12 (Modules)
  1. Testing in local
$ make test
  1. Testing with Circle CI CLI
$ circleci build --job test

License

Copyright 2019 Mercari, Inc.

Licensed under the MIT License.


1: EMV® is a registered trademark in the U.S. and other countries and an unregistered trademark elsewhere. The EMV trademark is owned by EMVCo, LLC.

2: "QR Code" is a registered trademark of DENSO WAVE

Expand ▾ Collapse ▴

Documentation

Overview

    Package emvcode is the EMV Payment Code Encoder/Decoder for Go.

    Source Files

    Directories

    Path Synopsis
    Package crc16 implements the 16-bit cyclic redundancy check, or CRC-16, checksum.
    Package crc16 implements the 16-bit cyclic redundancy check, or CRC-16, checksum.
    mpm
    Package mpm implements encoding and decoding of EMV as defined in EMV Payment Code.
    Package mpm implements encoding and decoding of EMV as defined in EMV Payment Code.
    jpqr
    Package jpqr implements encoding and decoding of JPQR as defined in JPQR MPM Guideline.
    Package jpqr implements encoding and decoding of JPQR as defined in JPQR MPM Guideline.
    Package tlv implements encoding and decoding of TLV (type-length-value or tag-length-value) as defined in EMV Payment Code.
    Package tlv implements encoding and decoding of TLV (type-length-value or tag-length-value) as defined in EMV Payment Code.