package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Oct 29, 2021
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func DeepCopy(dst, src interface{}) error
src := &http.Client{Timeout: 100 * time.Second}
dst := &http.Client{}
if err := DeepCopy(dst, src); err != nil {
fmt.Println(err)
}
fmt.Println(src)
fmt.Println(dst)
Output:
&{<nil> <nil> <nil> 1m40s}
&{<nil> <nil> <nil> 1m40s}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.