tailscale.comtailscale.com/cmd/cloner Directories

cloner command

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.

Directories

PathSynopsis
cmd/cloner/clonerexPackage clonerex is an example package for the cloner tool.
Version
v1.82.5 (latest)
Published
Apr 17, 2025
Platform
linux/amd64
Imports
8 packages
Last checked
12 hours ago

Tools for package owners.