intenthq / anon

A UNIX Command To Anonymise Data
MIT License
354 stars 14 forks source link

First stab at the anon tool #1

Closed albertpastrana closed 6 years ago

albertpastrana commented 6 years ago

Signed-off-by: Albert Pastrana albert.pastrana@gmail.com

albertpastrana commented 6 years ago

Ops, just seen vscode has added tabs instead of spaces in the files :(

kittsville commented 6 years ago

atom-clouds

albertpastrana commented 6 years ago

Ok, I've seen I had tabs because vscode has been using go fmt automatically (https://blog.golang.org/go-fmt-your-code) and it does indent using tabs (https://golang.org/doc/effective_go.html#formatting).

We use tabs for indentation and gofmt emits them by default. Use spaces only if you must.

So it looks like the problem was my lack of knowledge of go, happy to see that the automation worked and did it properly for me :).