debug

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2026 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package debug is a backend that describes the model it was given.

Its output is not useful, and that is the point. It exercises every part of the protocol, in process and over a subprocess, without anyone first having to agree what generated Go should look like. Real backends are each their own plan; this one exists to keep the protocol honest.

Index

Constants

View Source
const Name = "debug"

Name is what this backend is called, in a target block and as tdl-gen-debug on PATH.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend struct{}

Backend implements plugin.Backend.

func (Backend) Describe

func (Backend) Describe() plugin.Description

func (Backend) Generate

func (Backend) Generate(_ context.Context, req *plugin.Request) (*plugin.Response, error)

Generate writes one file describing the model.

Jump to

Keyboard shortcuts

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