transform

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Transformer

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

func New

func New(workingDir string) (*Transformer, error)

func (*Transformer) CopyStruct

func (t *Transformer) CopyStruct(filename string, structName string, newStructName string) error

func (*Transformer) RemoveField

func (t *Transformer) RemoveField(filename string, structName string, fieldName string) error

func (*Transformer) RenameMethod

func (t *Transformer) RenameMethod(filename string, methodName string, newName string) error

func (*Transformer) RenameStruct

func (t *Transformer) RenameStruct(filename string, oldName string, newName string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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