Skip to Content
Skip to content
Go Advanced: Performance, Concurrency, and Production
Advanced
Courses
Go Advanced: Performance, Concurrency, and Production

Check Yourself

Five scenario questions on //go:embed, -ldflags -X, FROM scratch, and CA certificates.

Course content

Sign in to save your progress.

Course Home
2. You run `go build -ldflags="-X main.version=v1.4.0"`, and `version` is declared as `const version = "dev"`. Why does it fail or stay `"dev"`?
3. Your Go service runs inside `FROM scratch` and fails when calling `https://api.example.com` with `x509: certificate signed by unknown authority`. What is missing?

About

Five scenario questions on //go:embed, -ldflags -X, FROM scratch, and CA certificates.

Duration
5 min
Last update
11/27/2026
Was this helpful?
​ 0 ​ 0

Comments

Sign in to comment

No comments yet.