Skip to content

SharkFourSix/gompare

Repository files navigation

gompare

A simple utility for validating CSV columns

Building

In project directly, run

go build

If using make, the following targets are available

  • make or make build - Build
  • make install - Install binary to bin path
  • make clean - Clean
  • make tidy - Tidy up dependencies
  • make good-test - Quick validity test. Results should be Valid
  • make bad-test - Quick validity test. Results should be 'Invalid'

Usage

./gompare --template-file=template.csv --input-file=test-bad.csv

Type ./gompare --help for more information

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.0.3 - 2021-11-12

Added

  • Added Makefile
  • Added ability to show non-matching columns present in target CSV files
  • Release workflow

0.0.2 - 2021-11-11

Fixed

  • Code cleanup. Remove unused constant

0.0.1 - 2021-11-10

Added

  • Initial setup