This is Exercism's representer for the Go track. See the docs for more information on representers.
This will create an executable called represent
.
go build -tags build -o represent .
The representer takes three arguments:
two-fer
).The representer will write a representation.txt
and mapping.json
file to the output directory.
With the binary built above:
represent two-fer ./representer/testdata/two-fer/1/ ./
The basic normalizations recommended in the docs are implemented.
See Batch Analysis README for information on how to run the representer on a bigger data set.