Documentation ¶
Overview ¶
Package deepcopy は、 deep-copy に関するサンプルが配置されています。
REFERENCES:
- https://stackoverflow.com/questions/46790190/quicker-way-to-deepcopy-objects-in-golang
- https://stackoverflow.com/questions/37618399/efficient-go-serialization-of-struct-to-disk/37620399#37620399
- https://www.reddit.com/r/golang/comments/2vzmp7/deepcopy_of_a_slice_of_structs/
- https://groups.google.com/forum/#!topic/golang-nuts/vK6P0dmQI84
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GobDeepCopy ¶
func GobDeepCopy() error
GobDeepCopy -- encoding/gob を利用した deep-copy のサンプルです.
REFERENCES:
- https://stackoverflow.com/questions/46790190/quicker-way-to-deepcopy-objects-in-golang
- https://stackoverflow.com/questions/37618399/efficient-go-serialization-of-struct-to-disk/37620399#37620399
- https://www.reddit.com/r/golang/comments/2vzmp7/deepcopy_of_a_slice_of_structs/
- https://groups.google.com/forum/#!topic/golang-nuts/vK6P0dmQI84
func JsonDeepCopy ¶
func JsonDeepCopy() error
JsonDeepCopy -- encoding/json を利用した deep-copy のサンプルです.
REFERENCES:
- https://stackoverflow.com/questions/46790190/quicker-way-to-deepcopy-objects-in-golang
- https://stackoverflow.com/questions/37618399/efficient-go-serialization-of-struct-to-disk/37620399#37620399
- https://www.reddit.com/r/golang/comments/2vzmp7/deepcopy_of_a_slice_of_structs/
- https://groups.google.com/forum/#!topic/golang-nuts/vK6P0dmQI84
func NewRegister ¶
NewRegister -- このパッケージ用のサンプルを登録する mapping.Register を生成します。
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.