Documentation
¶
Index ¶
- type BlackFormatter
- func (F *BlackFormatter) FileExtensions() []string
- func (F *BlackFormatter) FormatInPlace(args []string, file string) error
- func (F *BlackFormatter) FormatToBuffer(args []string, file string, in io.Reader, out io.Writer) error
- func (F *BlackFormatter) IsInstalled() bool
- func (F *BlackFormatter) Name() string
- type BuildifierFormatter
- func (F *BuildifierFormatter) FileExtensions() []string
- func (F *BuildifierFormatter) FormatInPlace(args []string, file string) error
- func (F *BuildifierFormatter) FormatToBuffer(args []string, file string, in io.Reader, out io.Writer) error
- func (F *BuildifierFormatter) IsInstalled() bool
- func (F *BuildifierFormatter) Name() string
- type ClangFormatter
- func (F *ClangFormatter) FileExtensions() []string
- func (F *ClangFormatter) FormatInPlace(args []string, file string) error
- func (F *ClangFormatter) FormatToBuffer(args []string, file string, in io.Reader, out io.Writer) error
- func (F *ClangFormatter) IsInstalled() bool
- func (F *ClangFormatter) Name() string
- type GofmtFormatter
- func (F *GofmtFormatter) FileExtensions() []string
- func (F *GofmtFormatter) FormatInPlace(args []string, absPath string) error
- func (F *GofmtFormatter) FormatToBuffer(args []string, file string, in io.Reader, out io.Writer) error
- func (F *GofmtFormatter) IsInstalled() bool
- func (F *GofmtFormatter) Name() string
- type PrettierFormatter
- func (F *PrettierFormatter) FileExtensions() []string
- func (F *PrettierFormatter) FormatInPlace(args []string, file string) error
- func (F *PrettierFormatter) FormatToBuffer(args []string, file string, in io.Reader, out io.Writer) error
- func (F *PrettierFormatter) IsInstalled() bool
- func (F *PrettierFormatter) Name() string
- type RustfmtFormatter
- func (F *RustfmtFormatter) FileExtensions() []string
- func (F *RustfmtFormatter) FormatInPlace(args []string, absPath string) error
- func (F *RustfmtFormatter) FormatToBuffer(args []string, file string, in io.Reader, out io.Writer) error
- func (F *RustfmtFormatter) IsInstalled() bool
- func (F *RustfmtFormatter) Name() string
- type UncrustifyFormatter
- func (F *UncrustifyFormatter) FileExtensions() []string
- func (F *UncrustifyFormatter) FormatInPlace(args []string, absPath string) error
- func (F *UncrustifyFormatter) FormatToBuffer(args []string, file string, in io.Reader, out io.Writer) error
- func (F *UncrustifyFormatter) IsInstalled() bool
- func (F *UncrustifyFormatter) Name() string
- type YapfFormatter
- func (F *YapfFormatter) FileExtensions() []string
- func (F *YapfFormatter) FormatInPlace(args []string, file string) error
- func (F *YapfFormatter) FormatToBuffer(args []string, file string, in io.Reader, out io.Writer) error
- func (F *YapfFormatter) IsInstalled() bool
- func (F *YapfFormatter) Name() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlackFormatter ¶
type BlackFormatter struct{}
func (*BlackFormatter) FileExtensions ¶
func (F *BlackFormatter) FileExtensions() []string
func (*BlackFormatter) FormatInPlace ¶
func (F *BlackFormatter) FormatInPlace(args []string, file string) error
func (*BlackFormatter) FormatToBuffer ¶
func (*BlackFormatter) IsInstalled ¶
func (F *BlackFormatter) IsInstalled() bool
func (*BlackFormatter) Name ¶
func (F *BlackFormatter) Name() string
type BuildifierFormatter ¶
type BuildifierFormatter struct{}
func (*BuildifierFormatter) FileExtensions ¶
func (F *BuildifierFormatter) FileExtensions() []string
func (*BuildifierFormatter) FormatInPlace ¶
func (F *BuildifierFormatter) FormatInPlace(args []string, file string) error
func (*BuildifierFormatter) FormatToBuffer ¶
func (*BuildifierFormatter) IsInstalled ¶
func (F *BuildifierFormatter) IsInstalled() bool
func (*BuildifierFormatter) Name ¶
func (F *BuildifierFormatter) Name() string
type ClangFormatter ¶
type ClangFormatter struct{}
func (*ClangFormatter) FileExtensions ¶
func (F *ClangFormatter) FileExtensions() []string
func (*ClangFormatter) FormatInPlace ¶
func (F *ClangFormatter) FormatInPlace(args []string, file string) error
func (*ClangFormatter) FormatToBuffer ¶
func (*ClangFormatter) IsInstalled ¶
func (F *ClangFormatter) IsInstalled() bool
func (*ClangFormatter) Name ¶
func (F *ClangFormatter) Name() string
type GofmtFormatter ¶
type GofmtFormatter struct{}
func (*GofmtFormatter) FileExtensions ¶
func (F *GofmtFormatter) FileExtensions() []string
func (*GofmtFormatter) FormatInPlace ¶
func (F *GofmtFormatter) FormatInPlace(args []string, absPath string) error
func (*GofmtFormatter) FormatToBuffer ¶
func (*GofmtFormatter) IsInstalled ¶
func (F *GofmtFormatter) IsInstalled() bool
func (*GofmtFormatter) Name ¶
func (F *GofmtFormatter) Name() string
type PrettierFormatter ¶
type PrettierFormatter struct{}
func (*PrettierFormatter) FileExtensions ¶
func (F *PrettierFormatter) FileExtensions() []string
func (*PrettierFormatter) FormatInPlace ¶
func (F *PrettierFormatter) FormatInPlace(args []string, file string) error
func (*PrettierFormatter) FormatToBuffer ¶
func (*PrettierFormatter) IsInstalled ¶
func (F *PrettierFormatter) IsInstalled() bool
func (*PrettierFormatter) Name ¶
func (F *PrettierFormatter) Name() string
type RustfmtFormatter ¶
type RustfmtFormatter struct{}
func (*RustfmtFormatter) FileExtensions ¶
func (F *RustfmtFormatter) FileExtensions() []string
func (*RustfmtFormatter) FormatInPlace ¶
func (F *RustfmtFormatter) FormatInPlace(args []string, absPath string) error
func (*RustfmtFormatter) FormatToBuffer ¶
func (*RustfmtFormatter) IsInstalled ¶
func (F *RustfmtFormatter) IsInstalled() bool
func (*RustfmtFormatter) Name ¶
func (F *RustfmtFormatter) Name() string
type UncrustifyFormatter ¶
type UncrustifyFormatter struct{}
func (*UncrustifyFormatter) FileExtensions ¶
func (F *UncrustifyFormatter) FileExtensions() []string
func (*UncrustifyFormatter) FormatInPlace ¶
func (F *UncrustifyFormatter) FormatInPlace(args []string, absPath string) error
func (*UncrustifyFormatter) FormatToBuffer ¶
func (*UncrustifyFormatter) IsInstalled ¶
func (F *UncrustifyFormatter) IsInstalled() bool
func (*UncrustifyFormatter) Name ¶
func (F *UncrustifyFormatter) Name() string
type YapfFormatter ¶
type YapfFormatter struct{}
func (*YapfFormatter) FileExtensions ¶
func (F *YapfFormatter) FileExtensions() []string
func (*YapfFormatter) FormatInPlace ¶
func (F *YapfFormatter) FormatInPlace(args []string, file string) error
func (*YapfFormatter) FormatToBuffer ¶
func (*YapfFormatter) IsInstalled ¶
func (F *YapfFormatter) IsInstalled() bool
func (*YapfFormatter) Name ¶
func (F *YapfFormatter) Name() string
Click to show internal directories.
Click to hide internal directories.