tf-dag

command module
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2023 License: MPL-2.0 Imports: 3 Imported by: 0

README

tf-dag

Fork of github.com/terraform/hashicorp/internal/dag. Directed acyclic graph (DAG) implementation in Go.

Why the fork?

The dag package from terraform/hashicorp is one of the most well maintained and tested DAG implementations in Go, and many projects depend on it. However, it was made internal. Additionally, upstream package contains a lot of extra dependencies where most projects do not need.

By forking it, we can import it as a standlone package and introduce custom changes to make it more generic.

Changes

Below is a list of changes we made to the upstream package:

  • replace the use of tfdiags with error
  • remove logging

Usage

go get github.com/sourcegraph/tf-dag

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL