package
Version:
v0.0.0-...-7a27e4f
Opens a new window with list of versions in this module.
Published: Dec 21, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package clone implements a generic Clone() operation applicable to
all types.
func Clone(src, dst interface{}) error
Clone clones the exported fields of 'src' into 'dst'. Empty maps
and slices may be converted to nil pointers. Typical usage:
var a SomeType
var b SomeType
Clone(a, &b)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.