gofumpt

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2022 License: MIT Imports: 4 Imported by: 0

README

gofumpt

import "github.com/eunomie/dague/kong/gofumpt"

Index

type Gofumpt

Gofumpt regroups commands based on gofumpt

type Gofumpt struct {
    Print PrintCmd `cmd:"" group:"gofumpt" help:"print result of gofumpt"`
    Write WriteCmd `cmd:"" group:"gofumpt" help:"write result of gofumpt to existing files"`
}

type PrintCmd

PrintCmd runs gofumpt and print out the result

type PrintCmd struct{}
func (PrintCmd) Run
func (PrintCmd) Run() error

type WriteCmd

WriteCmd runs gofumpt and write the result to the files

type WriteCmd struct{}
func (WriteCmd) Run
func (WriteCmd) Run() error

Generated by gomarkdoc

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gofumpt

type Gofumpt struct {
	Print PrintCmd `cmd:"" group:"gofumpt" help:"print result of gofumpt"`
	Write WriteCmd `cmd:"" group:"gofumpt" help:"write result of gofumpt to existing files"`
}

Gofumpt regroups commands based on gofumpt

type PrintCmd

type PrintCmd struct{}

PrintCmd runs gofumpt and print out the result

func (PrintCmd) Run

func (PrintCmd) Run() error

type WriteCmd

type WriteCmd struct{}

WriteCmd runs gofumpt and write the result to the files

func (WriteCmd) Run

func (WriteCmd) Run() error

Jump to

Keyboard shortcuts

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