gocopy

command
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Command gocopy writes a CopyFrom and Copy methods for the struct types named by -type into <type>_copy.gen.go in the current package.

//go:generate go tool gocopy -type=Request,Response

Jump to

Keyboard shortcuts

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