cloner

command
v1.16.0 Latest Latest
Warning

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

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

Documentation

Overview

Cloner is a tool to automate the creation of a Clone method.

The result of the Clone method aliases no memory that can be edited with the original.

This tool makes lots of implicit assumptions about the types you feed it. In particular, it can only write relatively "shallow" Clone methods. That is, if a type contains another named struct type, cloner assumes that named type will also have a Clone method.

Jump to

Keyboard shortcuts

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