ententgo.io/ent/cmd/internal/printer Index | Files

package printer

import "entgo.io/ent/cmd/internal/printer"

Index

Functions

func Fprint

func Fprint(w io.Writer, g *gen.Graph)

Fprint executes "pretty-printer" on the given writer.

Types

type Config

type Config struct {
	io.Writer
}

A Config controls the output of Fprint.

func (Config) Print

func (p Config) Print(g *gen.Graph)

Print prints a table description of the graph to the given writer.

Source Files

printer.go

Version
v0.14.4 (latest)
Published
Mar 17, 2025
Platform
linux/amd64
Imports
7 packages
Last checked
1 day ago

Tools for package owners.