Этот коммит содержится в:
=Corey Hulen
2015-07-06 00:50:42 -08:00
родитель cbadc26386
Коммит 34fb817a4a
18 изменённых файлов: 173 добавлений и 154 удалений

Просмотреть файл

@@ -14,6 +14,15 @@ type StoreResult struct {
type StoreChannel chan StoreResult
func Must(sc StoreChannel) interface{} {
r := <-sc
if r.Err != nil {
panic(r.Err)
}
return r.Data
}
type Store interface {
Team() TeamStore
Channel() ChannelStore