made tutorial outputs more presentable (#555)

Closes https://github.com/ooni/probe/issues/1831
This commit is contained in:
Srijan Srivastava 2021-10-22 19:47:57 +05:30 committed by GitHub
commit 3f0da81bf8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 59 additions and 57 deletions

View file

@ -81,7 +81,7 @@ lines of code for printing the resulting measurement.
As before, let us start off with a vanilla run:
```bash
go run -race ./internal/tutorial/measurex/chapter05
go run -race ./internal/tutorial/measurex/chapter05 | jq
```
Produces this JSON:

View file

@ -82,7 +82,7 @@ func main() {
// As before, let us start off with a vanilla run:
//
// ```bash
// go run -race ./internal/tutorial/measurex/chapter05
// go run -race ./internal/tutorial/measurex/chapter05 | jq
// ```
//
// Produces this JSON: