Unix command line tool WC written in Go
Domenico Luciani
https://domenicoluciani.com
go build
./gowc <flag> <file>
For example ./gowc -l resources/test.txt
By default the tool will count bytes
, lines
and words
of the specified file
❯ ./gowc resources/test.txt
342190 58164 7145 resources/test.txt
-c
: count bytes-l
count lines-w
count words-m
count characters -multibyte characters supported-
This is the implementation of the WC Coding Challenge with Go, following those requirements step-by-step
Any idea or feedback to make it better are always welcomed!