https://github.com/sagikazarmark/dagx
https://github.com/sagikazarmark/dagx
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sagikazarmark/dagx
- Owner: sagikazarmark
- License: mit
- Created: 2024-11-18T21:17:39.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-04-01T14:55:02.000Z (7 months ago)
- Last Synced: 2025-04-11T03:40:32.084Z (6 months ago)
- Language: Go
- Size: 32.2 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dagger Go Utilities
[](https://github.com/sagikazarmark/dagx/actions/workflows/ci.yaml)
[](https://pkg.go.dev/mod/github.com/sagikazarmark/dagx)

[](https://builtwithnix.org)**Simple utilities for working with the Dagger Go SDK.**
## Usage
### Pipeline
Use the `pipeline` package to run a bunch of jobs in parallel.
It's especially useful to wrap a number of objects implementing a `Sync` function (like containers, directories, files).Before:
```go
p := pool.New().WithErrors().WithContext(ctx)p.Go(func(ctx context.Context) error {
_, err := dag.Container().Sync(ctx)return err
})p.Wait()
```After:
```go
p := pipeline.New(ctx)pipeline.AddSyncStep(p, dag.Container())
pipeline.Run(p)
```## Development
**For an optimal developer experience, it is recommended to install [Nix](https://nixos.org/download.html) and [direnv](https://direnv.net/docs/installation.html).**
## License
The project is licensed under the [MIT License](LICENSE).