Skip to content

Instantly share code, notes, and snippets.

View rrichardson's full-sized avatar
💭
⚔️ Hacking Away

Rick Richardson rrichardson

💭
⚔️ Hacking Away
View GitHub Profile
type Cloneable interface {
Clone() Cloneable;
}
type MapA map[int]string;
type MapB map[string]int;
func (m MapA) Clone() Clonable {
nmap := make(MapA);