format

package
v0.36.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Format

func Format(ctx context.Context, provider Provider, cfg configuration.Provider, filename string, fle io.Reader) (io.Reader, error)

Types

type Provider

type Provider interface {
	Format(ctx context.Context, cfg configuration.Configuration, reader io.Reader) (io.Reader, error)
	Targets() []string
}

Jump to

Keyboard shortcuts

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