mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2024-10-30 19:56:16 +00:00
15 lines
201 B
Go
15 lines
201 B
Go
|
package interwiki
|
||
|
|
||
|
// Map is an interwiki map
|
||
|
type Map struct {
|
||
|
list []*Wiki
|
||
|
byName map[string]*Wiki
|
||
|
}
|
||
|
|
||
|
var theMap Map
|
||
|
|
||
|
func init() {
|
||
|
theMap.list = []*Wiki{}
|
||
|
theMap.byName = map[string]*Wiki{}
|
||
|
}
|