ak9im/p2
leo 01cdd03dac
p2: implement file reading+basic data operations
also, update .pre-commit-config.yaml to:
* first change to ./p2, then run the tests (pre-commit deliberately does
  not allow this by design [1])
* for the above, the https://github.com/dnephin/pre-commit-golang repo
  had to be dropped as it does not allow any customisation either.

also, add some flake updates (would be better split into another commit,
I know):
* use baseurl var
* add statix to shell packages
* fix building p1

refs:
[1]: https://github.com/pre-commit/pre-commit/issues/1110
2023-02-24 23:50:13 +01:00
..
data p2: implement file reading+basic data operations 2023-02-24 23:50:13 +01:00
stats p2: implement file reading+basic data operations 2023-02-24 23:50:13 +01:00
.golangci.yml add .golangci-lint 2023-01-28 19:30:33 +01:00
data.go p2: implement file reading+basic data operations 2023-02-24 23:50:13 +01:00
go.mod p2: implement file reading+basic data operations 2023-02-24 23:50:13 +01:00
go.sum p2: implement file reading+basic data operations 2023-02-24 23:50:13 +01:00
main.go p2: implement file reading+basic data operations 2023-02-24 23:50:13 +01:00
README.md p2: implement file reading+basic data operations 2023-02-24 23:50:13 +01:00
run.go p2: implement file reading+basic data operations 2023-02-24 23:50:13 +01:00

p2

this is a Go subproject containing code for task no. 2.

compile

go build -v .

run

# pass a csv data file.
./p2 -datafile=./data/m.csv