print

package
v0.22.91 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package print provides helper package to print objects.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JSON

func JSON(w io.Writer, value any) error

JSON prints value to out

func Object

func Object(w io.Writer, format string, value any) error

Object prints value to out in format

func Print

func Print(w io.Writer, value any)

Print value

func SchemaForeingKeys

func SchemaForeingKeys(w io.Writer, r schema.ForeignKeys)

SchemaForeingKeys prints schema.ForeingKeys

func SchemaIndexes added in v0.13.1

func SchemaIndexes(w io.Writer, r schema.Indexes)

SchemaIndexes prints schema.Indexes

func SchemaTable

func SchemaTable(w io.Writer, r *schema.Table)

SchemaTable prints schema.Table

func SchemaTables

func SchemaTables(w io.Writer, r schema.Tables)

func Yaml

func Yaml(w io.Writer, value any) error

Yaml prints value to out

Types

This section is empty.

Jump to

Keyboard shortcuts

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