Documentation ¶ Index ¶ Constants Variables type Rename func (r Rename) Do(ctx context.Context, out io.Writer, in io.Reader) error Constants ¶ View Source const ( StdinRepresentation = "-" ) Variables ¶ View Source var ( ErrUnexpected = errors.New("unexpected") ErrCanHaveOnlyOneStdin = errors.New("can have only one stdin") ErrInvalidFilePath = errors.New("invalid file path") ) Functions ¶ This section is empty. Types ¶ type Rename ¶ type Rename struct { Namespaces []string Files []string fs.FS } func (Rename) Do ¶ func (r Rename) Do(ctx context.Context, out io.Writer, in io.Reader) error Source Files ¶ View all Source files parse.go rename.go Click to show internal directories. Click to hide internal directories.