Skip to main content

19 docs tagged with "go"

View All Tags

Copy Embedded Directories into a Container

Embedded directories in Go allow bundling static files with the compiled binary. This guide demonstrates copying embedded directories using Dagger, a Go-specific feature not available in Python or Node.js.

Understand Dagger CLI Telemetry

By default, the Dagger CLI sends anonymized telemetry to dagger.io. This allows us to improve Dagger by understanding how it is used.

Use Services in Dagger

Dagger v0.9.0 includes a breaking change for binding service containers. The Container.withServiceBinding API now takes a Service instead of a Container, so you must call Container.asService on its argument. See the section on binding service containers for examples.