lint

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command() *cobra.Command

Types

type FileFormatProcessor

type FileFormatProcessor interface {
	ToJSON(input []byte) ([]byte, error)
}

type JSONProcessor

type JSONProcessor struct{}

func (JSONProcessor) ToJSON

func (p JSONProcessor) ToJSON(input []byte) ([]byte, error)

type YAMLProcessor

type YAMLProcessor struct{}

func (YAMLProcessor) ToJSON

func (p YAMLProcessor) ToJSON(input []byte) ([]byte, error)

Jump to

Keyboard shortcuts

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