demo

package module
v0.0.0-...-f278ade Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2015 License: BSD-3-Clause Imports: 7 Imported by: 0

README

Demo: Customizing the Go Doctor

The sources in this repository illustrate how to build a custom Go Doctor tool with an additional, custom refactoring. The demo refactoring adds "err error" to a function's return tuple and updates its return statements.

See http://gorefactor.org for general information about the Go Doctor, including an online demonstration.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddError

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

func (*AddError) Description

func (r *AddError) Description() *refactoring.Description

func (*AddError) Run

func (r *AddError) Run(config *refactoring.Config) *refactoring.Result

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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