func init() { store.Register("memory", func(r store.Robot) store.Adapter { return &MemoryStore{ data: make(map[string]string), } }) }
func init() { // type InitFunc func() Adapter store.Register("bolt", func(r store.Robot) store.Adapter { return newBoltStore() }) }