turnsrefactor

package
v0.10.4 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(cfg Config) error

Types

type Config

type Config struct {
	PackagePatterns []string
	Write           bool
	Verify          bool
	AllowNoop       bool

	Stdout io.Writer
	Stderr io.Writer
}

Config configures the refactoring run.

type StringSliceFlag

type StringSliceFlag struct {
	Values []string
}

StringSliceFlag is a repeatable flag for package patterns.

func (*StringSliceFlag) Set

func (s *StringSliceFlag) Set(v string) error

func (*StringSliceFlag) String

func (s *StringSliceFlag) String() string

Jump to

Keyboard shortcuts

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