goreturn

command module
v0.0.0-...-ce3e67c Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2019 License: MIT Imports: 10 Imported by: 0

README

return statement generator for Go

goreturn generates a return statement for a function with zero values.

Installation

$ go get -u github.com/110y/goreturn

Usage

This generates a return statementat for a function placed at 1000 bytes in main.go.

$ goreturn -pos 1000 < main.go
return nil

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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