ghoten

module
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2026 License: MPL-2.0

README

Ghoten

Name origin: Ghoten blends GhitHub and OpenTofu, with a nod to Goten from Dragon Ball Z.

Test Release

An OpenTofu fork with a native ORAS backend for OCI registry state storage.

Use an OCI-compatible registry — such as GitHub Container Registry (GHCR) — as the durable store for your infrastructure state, without external HTTP backends or third-party wrappers.


Why Ghoten?

OpenTofu and Terraform have not added new built-in remote state backends in years, preferring the generic HTTP backend for custom implementations. If you already operate an OCI registry for container images, forcing state through an extra HTTP proxy adds moving parts, latency, and operational burden.

Ghoten adds a first-class oras backend that speaks the OCI distribution protocol directly. State snapshots, locks, and version history are stored as OCI artifacts inside a repository you control, reusing existing authentication, authorization, and operational tooling.

Upstream: Ghoten tracks OpenTofu and carries only the additions required for the ORAS backend. All standard OpenTofu functionality is preserved.


Key Features

OpenTofu Core
  • Infrastructure as Code — Describe infrastructure with a high-level configuration syntax. Version, share, and reuse blueprints like any other code.
  • Execution Plans — Preview exactly what will change before applying, avoiding surprises.
  • Resource Graph — Parallel creation and modification of non-dependent resources for efficient operations.
  • Change Automation — Apply complex changesets with minimal human interaction.
ORAS Backend
  • Native OCI storage — State, locks, and versions stored as OCI manifests and layers via ORAS.
  • Atomic locking with generation semantics — Prevents concurrent lock holders through post-write verification.
  • Stale lock cleanup (TTL) — Crashed-process locks are automatically cleared during the next acquisition.
  • State versioning with async retention — Historical snapshots with non-blocking background cleanup.
  • Gzip compression — Optional state compression before pushing to the registry.
  • Rate limiting — Token-bucket rate limiter to stay within registry quotas.
  • Retry with exponential backoff — Automatic retries for transient errors (429, 502–504, timeouts, DNS failures).
  • GHCR deletion fallback — Falls back to the GitHub Packages API when OCI DELETE returns HTTP 405.
  • Docker credential helpers — Reuses Docker config / credential store with caching and singleflight deduplication.
  • OpenTelemetry tracing — All OCI HTTP calls are instrumented via otelhttp.
  • Client-side encryption — Combine with OpenTofu state encryption for end-to-end protection.

Installation

Build from Source
git clone https://github.com/vmvarela/ghoten.git
cd ghoten
make build        # produces ./ghoten binary
Docker
# Full image (Alpine, includes git/bash/openssh)
docker pull ghcr.io/vmvarela/ghoten:<version>

# Minimal image (scratch, binary only)
docker pull ghcr.io/vmvarela/ghoten:<version>-minimal
GitHub Releases

Pre-built binaries for 17 platform combinations (linux, darwin, windows, freebsd, netbsd, openbsd, solaris) are available on the Releases page.


ORAS Backend

Security Considerations

State snapshots frequently contain sensitive data (provider credentials, resource attributes, and sometimes plaintext secrets). Treat the OCI repository with the same care as any other credentials store:

  • Enable client-side encryption — OpenTofu supports state encryption which encrypts state before it leaves your machine. This is the recommended approach.
  • Keep the repository private and issue least-privilege tokens.
  • Prefer registries that provide encryption at rest and audit trails.
  • Be deliberate about retention/versioning; a long history increases exposure.

Note: The implementation has primarily been exercised against GitHub Container Registry (ghcr.io). Other registries should work but haven't yet been validated.

Configuration Parameters
Parameter Type Default Env Var Description
repository string "" TF_BACKEND_ORAS_REPOSITORY OCI repository (<registry>/<repo>), without tag or digest. Required.
compression string "none" State compression: none or gzip.
insecure bool false Skip TLS certificate verification.
ca_file string "" Path to PEM-encoded CA certificate bundle.
retry_max int 2 TF_BACKEND_ORAS_RETRY_MAX Retries for transient requests. Total attempts = retry_max + 1.
retry_wait_min int 1 TF_BACKEND_ORAS_RETRY_WAIT_MIN Minimum backoff in seconds.
retry_wait_max int 30 TF_BACKEND_ORAS_RETRY_WAIT_MAX Maximum backoff in seconds.
lock_ttl int 0 TF_BACKEND_ORAS_LOCK_TTL Lock TTL in seconds. > 0 enables automatic stale-lock clearing.
rate_limit int 0 TF_BACKEND_ORAS_RATE_LIMIT Max registry requests/sec. 0 disables.
rate_limit_burst int 0 TF_BACKEND_ORAS_RATE_LIMIT_BURST Burst size. Defaults to 1 when rate_limit > 0.
max_versions int 0 Historical state versions to retain. 0 disables versioning.
How State Is Stored (Tags)

Tags act as stable references inside the OCI repository:

Purpose Tag pattern
State state-<workspaceTag>
Lock locked-<workspaceTag>
Version state-<workspaceTag>-v<N>

workspaceTag equals the workspace name when it is a valid OCI tag. Otherwise the backend uses a stable ws-<sha256> form and persists the real workspace name in OCI annotations.

Wire Format

State objects use ORAS manifest v1.1 packing:

  • Manifest artifactType: application/vnd.terraform.state.v1
  • Layer media type:
    • application/vnd.terraform.statefile.v1 (uncompressed)
    • application/vnd.terraform.statefile.v1+gzip (gzip)
  • Annotations:
    • org.terraform.workspace — workspace name
    • org.terraform.state.updated_at — RFC 3339 timestamp

Lock objects:

  • Manifest artifactType: application/vnd.terraform.lock.v1
  • Annotations:
    • org.terraform.workspace — workspace name
    • org.terraform.lock.id — lock ID
    • org.terraform.lock.info — JSON-encoded lock metadata
    • org.terraform.lock.generation — JSON with generation, lease_expiry, and holder_id

Reads are strict: unexpected artifact types or media types raise errors instead of silently proceeding.

Locking

The lock lives at locked-<ws> tags and carries metadata in annotations. Unlocking deletes that manifest via OCI DELETE. Registries that respond with HTTP 405 trigger a fallback: the lock reference is retagged to an unlocked-<ws> placeholder.

Generation semantics prevent concurrent lock holders:

  1. Read the current generation before any modifications.
  2. Clear stale locks if lock_ttl > 0 and the existing lock has expired.
  3. Write a new lock manifest with generation = currentGen + 1.
  4. Post-write verification: re-read the lock and confirm the generation matches. A mismatch means another process won the race.
Stale Lock Cleanup (TTL)

When lock_ttl > 0, each lock includes a lease_expiry timestamp. During lock acquisition, if the existing lock's lease has expired, it is automatically cleared before the new lock attempt proceeds. This handles the common case where a crashed process left a lock behind — the next ghoten apply clears it automatically.

Versioning & Retention

When max_versions > 0, every successful state write gets an additional state-<ws>-v<N> tag. Version numbers are computed by scanning existing tags and picking max + 1.

Retention cleanup runs asynchronously in a background goroutine (30-second timeout, limited to 3 concurrent cleanups) so that ghoten apply returns immediately without waiting for old version pruning.

Authentication

Credentials are discovered in this order:

  1. Docker credential helpers — Docker config / credential store, with caching (5-minute TTL for successful lookups, 10-second TTL for errors) and singleflight deduplication.
  2. CLI host credentials — OpenTofu/Terraform CLI login tokens (ghoten login).

If Docker credentials are missing or fail, the backend falls back to CLI tokens automatically.

GHCR Deletion Fallback

GitHub Container Registry (ghcr.io) returns HTTP 405 for OCI DELETE operations. The backend automatically falls back to the GitHub Packages REST API to delete manifests. The token used for registry access must include delete:packages when retention is enabled or manual lock cleanup is needed.


Usage

Minimal
terraform {
  backend "oras" {
    repository = "ghcr.io/acme/infra-state"
  }
}
Production-Ready
terraform {
  backend "oras" {
    repository  = "ghcr.io/myorg/infra-state"
    compression = "gzip"

    # Lock reliability
    lock_ttl = 300   # 5 minutes

    # State versioning
    max_versions = 10
  }

  # Client-side state encryption (OpenTofu feature)
  encryption {
    key_provider "pbkdf2" "main" {
      passphrase = var.state_passphrase
    }

    method "aes_gcm" "main" {
      key_provider = key_provider.pbkdf2.main
    }

    state {
      method = method.aes_gcm.main
    }

    plan {
      method = method.aes_gcm.main
    }
  }
}

variable "state_passphrase" {
  type      = string
  sensitive = true
}

Tip: For production, consider using a KMS-backed key provider (AWS KMS, GCP KMS, etc.) instead of PBKDF2 with a passphrase.

GitHub Actions CI
- name: Ghoten Init
  env:
    TF_BACKEND_ORAS_REPOSITORY: ghcr.io/${{ github.repository_owner }}/tf-state
  run: |
    echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
    ghoten init

The token must be able to read/write the repository. If you enable version retention or rely on GHCR deletion fallbacks, it must also include delete:packages.


Testing

# Full test suite
go test ./...

# ORAS backend only (offline, uses in-memory fake OCI registry)
go test ./internal/backend/remote-state/oras/...

Troubleshooting

"unauthorized" or "denied" errors
  • Confirm docker login <registry> works with the same credentials.
  • For GHCR, ensure the token grants read:packages + write:packages (and delete:packages if retention is enabled).
Lock stuck after a crashed run

Option 1: Automatic cleanup with TTL (recommended)

lock_ttl = 300  # 5 minutes

The next ghoten apply will automatically clear any lock older than the TTL.

Option 2: Manual cleanup

Delete the locked-<workspace> tag from the registry UI or API.

Version deletion on GHCR
  • GHCR does not support OCI DELETE; the backend automatically falls back to the GitHub Packages API.
  • Ensure the token has delete:packages permission.
  • If the API call also fails (e.g., insufficient permissions), old versions accumulate but writes still succeed.
Debug mode
TF_LOG=DEBUG ghoten plan

Limitations

  • Only GHCR is exercised in automated tests; other registries may exhibit different quirks.
  • Registries that refuse OCI DELETE degrade lock/unlock behavior (GHCR has a dedicated fallback via GitHub Packages API).
  • insecure = true disables TLS verification — use only in controlled environments.

Getting Help & Contributing


Security

Please report security vulnerabilities through GitHub Security Advisories. See SECURITY.md for details.


License

Mozilla Public License 2.0

Directories

Path Synopsis
cmd
ghoten command
internal
addrs
Package addrs contains types that represent "addresses", which are references to specific objects within a Ghoten configuration or state.
Package addrs contains types that represent "addresses", which are references to specific objects within a Ghoten configuration or state.
backend
Package backend provides interfaces that the CLI uses to interact with Ghoten.
Package backend provides interfaces that the CLI uses to interact with Ghoten.
backend/init
Package init contains the list of backends that can be initialized and basic helper functions for initializing those backends.
Package init contains the list of backends that can be initialized and basic helper functions for initializing those backends.
backend/remote-state/gcs
Package gcs implements remote storage of state on Google Cloud Storage (GCS).
Package gcs implements remote storage of state on Google Cloud Storage (GCS).
checks
Package checks contains the models for representing various kinds of declarative condition checks that can be defined in a Ghoten module and then evaluated and reported by Ghoten Core during plan and apply operations.
Package checks contains the models for representing various kinds of declarative condition checks that can be defined in a Ghoten module and then evaluated and reported by Ghoten Core during plan and apply operations.
command/cliconfig
Package cliconfig has the types representing and the logic to load CLI-level configuration settings.
Package cliconfig has the types representing and the logic to load CLI-level configuration settings.
command/cliconfig/ociauthconfig
Package ociauthconfig contains types used for describing OCI authentication settings, and helpers for discovering such settings from container engine configuration files as described in https://github.com/containers/image/blob/main/docs/containers-auth.json.5.md .
Package ociauthconfig contains types used for describing OCI authentication settings, and helpers for discovering such settings from container engine configuration files as described in https://github.com/containers/image/blob/main/docs/containers-auth.json.5.md .
command/cliconfig/svcauthconfig
Package svcauthconfig contains some helper functions and types to support the cliconfig package's use of github.com/opentofu/svchost/svcauth, which is our mechanism for representing the policy for authenticating to Ghoten-native services such as implementations Ghoten's provider registry protocol.
Package svcauthconfig contains some helper functions and types to support the cliconfig package's use of github.com/opentofu/svchost/svcauth, which is our mechanism for representing the policy for authenticating to Ghoten-native services such as implementations Ghoten's provider registry protocol.
command/clistate
Package state exposes common helpers for working with state from the CLI.
Package state exposes common helpers for working with state from the CLI.
command/e2etest
Package e2etest contains a set of tests that run against a real Ghoten binary, compiled on the fly at the start of the test run.
Package e2etest contains a set of tests that run against a real Ghoten binary, compiled on the fly at the start of the test run.
command/e2etest/fakeocireg
Package fakeocireg provides a minimal, read-only implementation of the OCI Distribution protocol that interacts with a local filesystem directory.
Package fakeocireg provides a minimal, read-only implementation of the OCI Distribution protocol that interacts with a local filesystem directory.
command/format
Package format contains helpers for formatting various Ghoten structures for human-readable output.
Package format contains helpers for formatting various Ghoten structures for human-readable output.
command/jsonchecks
Package jsonchecks implements the common JSON representation of check results/statuses that we use across both the JSON plan and JSON state representations.
Package jsonchecks implements the common JSON representation of check results/statuses that we use across both the JSON plan and JSON state representations.
command/jsonconfig
Package jsonconfig implements methods for outputting a configuration snapshot in machine-readable json format
Package jsonconfig implements methods for outputting a configuration snapshot in machine-readable json format
command/jsonentities
Package jsonentities contains the entities for representing a few common resources used around the json* packages.
Package jsonentities contains the entities for representing a few common resources used around the json* packages.
command/jsonformat/computed
Package computed contains types that represent the computed diffs for Ghoten blocks, attributes, and outputs.
Package computed contains types that represent the computed diffs for Ghoten blocks, attributes, and outputs.
command/jsonformat/structured
Package structured contains the structured representation of the JSON changes returned by the jsonplan package.
Package structured contains the structured representation of the JSON changes returned by the jsonplan package.
command/jsonplan
Package jsonplan implements methods for outputting a plan in a machine-readable json format
Package jsonplan implements methods for outputting a plan in a machine-readable json format
command/jsonprovider
Package jsonprovider contains types and functions to marshal Ghoten provider schemas into a json formatted output.
Package jsonprovider contains types and functions to marshal Ghoten provider schemas into a json formatted output.
command/jsonstate
Package jsonstate implements methods for outputting a state in a machine-readable json format
Package jsonstate implements methods for outputting a state in a machine-readable json format
command/workdir
Package workdir models the various local artifacts and state we keep inside a Ghoten "working directory".
Package workdir models the various local artifacts and state we keep inside a Ghoten "working directory".
configs
Package configs contains types that represent Ghoten configurations and the different elements thereof.
Package configs contains types that represent Ghoten configurations and the different elements thereof.
configs/configload
Package configload knows how to install modules into the .terraform/modules directory and to load modules from those installed locations.
Package configload knows how to install modules into the .terraform/modules directory and to load modules from those installed locations.
configs/configschema
Package configschema contains types for describing the expected structure of a configuration block whose shape is not known until runtime.
Package configschema contains types for describing the expected structure of a configuration block whose shape is not known until runtime.
dag
depsfile
Package depsfile contains the logic for reading and writing Ghoten's dependency lock and development override configuration files.
Package depsfile contains the logic for reading and writing Ghoten's dependency lock and development override configuration files.
e2e
encryption/keyprovider/pbkdf2
Package pbkdf2 contains a key provider that takes a passphrase and emits a PBKDF2 hash of the configured length.
Package pbkdf2 contains a key provider that takes a passphrase and emits a PBKDF2 hash of the configured length.
encryption/keyprovider/static
Package static contains a key provider that emits a static key.
Package static contains a key provider that emits a static key.
encryption/keyprovider/xor
Package xor contains a key provider that combines two other keys.
Package xor contains a key provider that combines two other keys.
engine/internal/exec
Package exec contains the models and main interface used for apply phase execution.
Package exec contains the models and main interface used for apply phase execution.
engine/internal/execgraph/execgraphproto
Package execgraphproto contains just the protocol buffers models we use for marshaling and unmarshaling execution graphs.
Package execgraphproto contains just the protocol buffers models we use for marshaling and unmarshaling execution graphs.
engine/planning
Package planning implements a planning engine for Ghoten, which takes a prior state and a configuration instance (which can be evaluated to produce a desired state) and proposes a set of changes to make to bring the remote system closer to convergence with the desired state.
Package planning implements a planning engine for Ghoten, which takes a prior state and a configuration instance (which can be evaluated to produce a desired state) and proposes a set of changes to make to bring the remote system closer to convergence with the desired state.
experiments
Package experiments contains the models and logic for opt-in experiments that can be activated for a particular Ghoten module.
Package experiments contains the models and logic for opt-in experiments that can be activated for a particular Ghoten module.
genconfig
Package genconfig implements config generation from provided state values.
Package genconfig implements config generation from provided state values.
getmodules
Package getmodules contains the low-level functionality for fetching remote module packages.
Package getmodules contains the low-level functionality for fetching remote module packages.
getproviders
Package getproviders is the lowest-level provider automatic installation functionality.
Package getproviders is the lowest-level provider automatic installation functionality.
initwd
Package initwd contains various helper functions used by the "tofu init" command to initialize a working directory.
Package initwd contains various helper functions used by the "tofu init" command to initialize a working directory.
ipaddr
Package ipaddr is a fork of a subset of the Go standard "net" package which retains parsing behaviors from Go 1.16 or earlier.
Package ipaddr is a fork of a subset of the Go standard "net" package which retains parsing behaviors from Go 1.16 or earlier.
lang
Package lang deals with the runtime aspects of Ghoten's configuration language, with concerns such as expression evaluation.
Package lang deals with the runtime aspects of Ghoten's configuration language, with concerns such as expression evaluation.
lang/blocktoattr
Package blocktoattr includes some helper functions that can perform preprocessing on a HCL body where a configschema.Block schema is available in order to allow list and set attributes defined in the schema to be optionally written by the user as block syntax.
Package blocktoattr includes some helper functions that can perform preprocessing on a HCL body where a configschema.Block schema is available in order to allow list and set attributes defined in the schema to be optionally written by the user as block syntax.
lang/eval
Package eval aims to encapsulate the details of evaluating the objects in an overall configuration, including all of the expressions written inside their declarations, in a way that can be reused across various different phases of execution.
Package eval aims to encapsulate the details of evaluating the objects in an overall configuration, including all of the expressions written inside their declarations, in a way that can be reused across various different phases of execution.
lang/eval/internal/ghoten2024
Package tofu2024 contains the "module compiler" implementation for the first edition of the Ghoten language, established with Ghoten v1.6 in 2024 and then gradually evolved in backward-compatible ways.
Package tofu2024 contains the "module compiler" implementation for the first edition of the Ghoten language, established with Ghoten v1.6 in 2024 and then gradually evolved in backward-compatible ways.
lang/exprs
Package exprs contains supporting code for expression evaluation.
Package exprs contains supporting code for expression evaluation.
lang/globalref
Package globalref is home to some analysis algorithms that aim to answer questions about references between objects and object attributes across an entire configuration.
Package globalref is home to some analysis algorithms that aim to answer questions about references between objects and object attributes across an entire configuration.
lang/grapheval
Package grapheval contains some low-level helpers for coordinating interdependent work happening across different parts of the system, including detection and reporting of self-dependency problems that would otherwise cause a deadlock.
Package grapheval contains some low-level helpers for coordinating interdependent work happening across different parts of the system, including detection and reporting of self-dependency problems that would otherwise cause a deadlock.
lang/lint
Package lint contains a collection of helpers for performing "lint-like" checks to try to detect configuration constructs that are valid but nonetheless very likely to be a mistake.
Package lint contains a collection of helpers for performing "lint-like" checks to try to detect configuration constructs that are valid but nonetheless very likely to be a mistake.
lang/types
Package types contains non-standard cty types used only within Ghoten.
Package types contains non-standard cty types used only within Ghoten.
legacy/hcl2shim
Package hcl2shim contains a small number of "shimming" utilities that the other packages under internal/legacy use to adapt from HCL 2 concepts to legacy concepts.
Package hcl2shim contains a small number of "shimming" utilities that the other packages under internal/legacy use to adapt from HCL 2 concepts to legacy concepts.
legacy/helper/acctest
Package acctest contains for Ghoten Acceptance Tests
Package acctest contains for Ghoten Acceptance Tests
legacy/helper/schema
Package schema is a legacy package that used to represent the SDK, which is now its own library external to Ghoten Core https://github.com/hashicorp/terraform-plugin-sdk Some of it is still used by Ghoten's remote state backends, but this entire package should be removed in the future.
Package schema is a legacy package that used to represent the SDK, which is now its own library external to Ghoten Core https://github.com/hashicorp/terraform-plugin-sdk Some of it is still used by Ghoten's remote state backends, but this entire package should be removed in the future.
modsdir
Package modsdir is an internal package containing the model types used to represent the manifest of modules in a local modules cache directory.
Package modsdir is an internal package containing the model types used to represent the manifest of modules in a local modules cache directory.
plans
Package plans contains the types that are used to represent Ghoten plans.
Package plans contains the types that are used to represent Ghoten plans.
plans/internal/planproto
Package planproto is home to the Go stubs generated from the tfplan protobuf schema.
Package planproto is home to the Go stubs generated from the tfplan protobuf schema.
plans/objchange
Package objchange deals with the business logic of taking a prior state value and a config value and producing a proposed new merged value, along with other related rules in this domain.
Package objchange deals with the business logic of taking a prior state value and a config value and producing a proposed new merged value, along with other related rules in this domain.
plans/planfile
Package planfile deals with the file format used to serialize plans to disk and then deserialize them back into memory later.
Package planfile deals with the file format used to serialize plans to disk and then deserialize them back into memory later.
plugin/mock_proto
Package mock_tfplugin5 is a generated GoMock package.
Package mock_tfplugin5 is a generated GoMock package.
plugin6/mock_proto
Package mock_tfplugin6 is a generated GoMock package.
Package mock_tfplugin6 is a generated GoMock package.
provider-simple
simple provider a minimal provider implementation for testing
simple provider a minimal provider implementation for testing
provider-simple-v6
simple provider a minimal provider implementation for testing
simple provider a minimal provider implementation for testing
providercache
Package providercache contains the logic for auto-installing providers from packages obtained elsewhere, and for managing the local directories that serve as global or single-configuration caches of those auto-installed providers.
Package providercache contains the logic for auto-installing providers from packages obtained elsewhere, and for managing the local directories that serve as global or single-configuration caches of those auto-installed providers.
providers
Package providers contains the interface and primary types required to implement a Ghoten resource provider.
Package providers contains the interface and primary types required to implement a Ghoten resource provider.
provisioners
Package provisioners contains the interface and primary types to implement a Ghoten resource provisioner.
Package provisioners contains the interface and primary types to implement a Ghoten resource provisioner.
repl
Package repl provides the structs and functions necessary to run REPL for Ghoten.
Package repl provides the structs and functions necessary to run REPL for Ghoten.
replacefile
Package replacefile is a small helper package focused directly at the problem of atomically "renaming" one file over another one.
Package replacefile is a small helper package focused directly at the problem of atomically "renaming" one file over another one.
states
Package states contains the types that are used to represent Ghoten states.
Package states contains the types that are used to represent Ghoten states.
states/statefile
Package statefile deals with the file format used to serialize states for persistent storage and then deserialize them into memory again later.
Package statefile deals with the file format used to serialize states for persistent storage and then deserialize them into memory again later.
states/statemgr
Package statemgr defines the interfaces and some supporting functionality for "state managers", which are components responsible for writing state to some persistent storage and then later retrieving it.
Package statemgr defines the interfaces and some supporting functionality for "state managers", which are components responsible for writing state to some persistent storage and then later retrieving it.
terminal
Package terminal encapsulates some platform-specific logic for detecting if we're running in a terminal and, if so, properly configuring that terminal to meet the assumptions that the rest of Ghoten makes.
Package terminal encapsulates some platform-specific logic for detecting if we're running in a terminal and, if so, properly configuring that terminal to meet the assumptions that the rest of Ghoten makes.
tfdiags
Package tfdiags is a utility package for representing errors and warnings in a manner that allows us to produce good messages for the user.
Package tfdiags is a utility package for representing errors and warnings in a manner that allows us to produce good messages for the user.
tools
protobuf-compile command
protobuf-compile is a helper tool for running protoc against all of the .proto files in this repository using specific versions of protoc and protoc-gen-go, to ensure consistent results across all development environments.
protobuf-compile is a helper tool for running protoc against all of the .proto files in this repository using specific versions of protoc and protoc-gen-go, to ensure consistent results across all development environments.
selected-go-version command
selected-go-version determines which version of Go is currently selected in the go.mod file.
selected-go-version determines which version of Go is currently selected in the go.mod file.
The version package provides a location to set the release versions for all packages to consume, without creating import cycles.
The version package provides a location to set the release versions for all packages to consume, without creating import cycles.

Jump to

Keyboard shortcuts

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