deepcopy

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package deepcopy provides a function for deep copying map[string]interface{} values. Inspired by the StackOverflow answer at: http://stackoverflow.com/a/28579297/1366283

Uses the golang.org/pkg/encoding/gob package to do this and therefore has the same caveats. See: https://blog.golang.org/gobs-of-data See: https://golang.org/pkg/encoding/gob/

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Map

func Map(m map[string]interface{}) (map[string]interface{}, error)

Map performs a deep copy of the given map m.

Types

This section is empty.

Jump to

Keyboard shortcuts

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