Help us shape the future of Go! Take the 2026 Go Developer Survey

formatter

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockFormatter

type BlockFormatter interface {
	Format() (string, error)
}

BlockFormatter is an interface of formatting Block. This is an abstraction layer for separating data structure and output format.

func NewBlockFormatter

func NewBlockFormatter(b *tfschema.Block, format string) (BlockFormatter, error)

NewBlockFormatter is a factory method which returns a BlockFormatter interface.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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