sqlformat

package
v1.13.3 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUnknown = errors.New("unknown file format")

Functions

This section is empty.

Types

type Format

type Format uint8
const (
	Unknown Format = iota // unknown
	Gzip                  // gzip
	Plain                 // plain
	Custom                // custom
)

func ParseFormat

func ParseFormat(format string) (Format, error)

func (*Format) Set

func (i *Format) Set(s string) error

func (Format) String

func (i Format) String() string

func (*Format) Type

func (i *Format) Type() string

Jump to

Keyboard shortcuts

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