Go maps generalized to interfaces which implement Int() or String methods
Go
Latest commit 6b0eabc Mar 1, 2012 @serge-hulne Update README
Failed to load latest commit information.
Makefile
README Update README Mar 1, 2012
maps.go
maps_test.go

README

Generalized maps for the Go Programming Language: 
------------------------------------------------

- These containers aim at storing aggregate types.
- These maps accept as keys all interfaces which implement a Key() method (or a String() or an Int() method respectively), see example maps_test.go.
thereby generalizing the Go built-in map type to aggregate types.

Thanks to Nigel Tao and Roger Peppe for their suggestions and support !

Serge Hulne.