Edits to the measurex tutorial (#534)

This commit is contained in:
Arturo Filastò 2021-10-11 17:48:45 +02:00 committed by GitHub
commit 46e00888ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 58 additions and 58 deletions

View file

@ -67,7 +67,7 @@ func webConnectivity(ctx context.Context, URL string) (*measurement, error) {
```
We start by parsing the input URL. If we cannot parse it, of
course this is an hard error and we cannot continue.
course this is a hard error and we cannot continue.
```Go
parsedURL, err := url.Parse(URL)
@ -100,7 +100,7 @@ the input URL's domain using the system resolver.
```
This is code we have already seen in previous chapter.
This is code we have already seen in the previous chapters.
### 2. Building a list of endpoints
@ -149,7 +149,7 @@ now focus on the last point:
### 5. HTTP measurement
We need to manually build a `MeasurementDB`. This is a
"database" where networking code will store events.
"database" where the networking code will store events.
```Go
@ -190,7 +190,7 @@ the round trip. Reading a snapshot of the response
body is not implemented by this function but rather
is a property of the "tracing" HTTP transport we
created above (this type of transport is the one we
have been internally using in all the examples
have been using internally in all the examples
presented so far.)
```Go