gqlgen: github.com/99designs/gqlgen/internal/rewrite Index | Files

package rewrite

import "github.com/99designs/gqlgen/internal/rewrite"

Index

Package Files

rewriter.go

type Import Uses

type Import struct {
    Alias      string
    ImportPath string
}

type Rewriter Uses

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

func New Uses

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

func (*Rewriter) ExistingImports Uses

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

func (*Rewriter) GetMethodBody Uses

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

func (*Rewriter) MarkStructCopied Uses

func (r *Rewriter) MarkStructCopied(name string)

func (*Rewriter) RemainingSource Uses

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

Package rewrite imports 10 packages (graph) and is imported by 5 packages. Updated 2020-10-06. Refresh now. Tools for package owners.