debug

package
v0.3.1 Latest Latest
Warning

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

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

Documentation

Overview

Package debug is a backend that describes the model it was given. It exercises the plugin protocol, in process and over a subprocess, without generating code.

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