rewrite

package
v0.0.0-...-d853fe5 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Import

type Import struct {
	Alias      string
	ImportPath string
}

Import TODO

type Rewriter

type Rewriter struct {
	// contains filtered or unexported fields
}

Rewriter TODO

func New

func New(dir string) (*Rewriter, error)

New TODO

func (*Rewriter) ExistingImports

func (r *Rewriter) ExistingImports(filename string) []Import

ExistingImports TODO

func (*Rewriter) GetMethodBody

func (r *Rewriter) GetMethodBody(structname string, methodname string) string

GetMethodBody TODO

func (*Rewriter) MarkStructCopied

func (r *Rewriter) MarkStructCopied(name string)

MarkStructCopied TODO

func (*Rewriter) RemainingSource

func (r *Rewriter) RemainingSource(filename string) string

RemainingSource TODO

Jump to

Keyboard shortcuts

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