Skip to content

Commit

Permalink
Update getting-started.md: Add fmt import and remove unused import (o…
Browse files Browse the repository at this point in the history
…pen-telemetry#4624)

Signed-off-by: Vancl <liyannois@gmail.com>
Co-authored-by: Phillip Carter <pcarter@fastmail.com>
  • Loading branch information
2 people authored and ymotongpoo committed Jun 8, 2024
1 parent 81e9fbf commit 7b04dd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/en/docs/languages/go/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,7 @@ Modify `rolldice.go` to include custom instrumentation using OpenTelemetry API:
package main

import (
"fmt"
"io"
"log"
"math/rand"
Expand All @@ -388,7 +389,6 @@ import (
"go.opentelemetry.io/otel"
"go.opentelemetry.io/otel/attribute"
"go.opentelemetry.io/otel/metric"
"go.opentelemetry.io/otel/sdk/instrumentation"
)

const name = "rolldice"
Expand Down

0 comments on commit 7b04dd2

Please sign in to comment.