коммит произвёл
Joram Wilander
родитель
33eda94db3
Коммит
2ca751febf
@@ -30,7 +30,7 @@ func (es SqlEmojiStore) CreateIndexesIfNotExists() {
|
||||
}
|
||||
|
||||
func (es SqlEmojiStore) Save(emoji *model.Emoji) StoreChannel {
|
||||
storeChannel := make(StoreChannel)
|
||||
storeChannel := make(StoreChannel, 1)
|
||||
|
||||
go func() {
|
||||
result := StoreResult{}
|
||||
@@ -56,7 +56,7 @@ func (es SqlEmojiStore) Save(emoji *model.Emoji) StoreChannel {
|
||||
}
|
||||
|
||||
func (es SqlEmojiStore) Get(id string) StoreChannel {
|
||||
storeChannel := make(StoreChannel)
|
||||
storeChannel := make(StoreChannel, 1)
|
||||
|
||||
go func() {
|
||||
result := StoreResult{}
|
||||
@@ -84,7 +84,7 @@ func (es SqlEmojiStore) Get(id string) StoreChannel {
|
||||
}
|
||||
|
||||
func (es SqlEmojiStore) GetByName(name string) StoreChannel {
|
||||
storeChannel := make(StoreChannel)
|
||||
storeChannel := make(StoreChannel, 1)
|
||||
|
||||
go func() {
|
||||
result := StoreResult{}
|
||||
@@ -112,7 +112,7 @@ func (es SqlEmojiStore) GetByName(name string) StoreChannel {
|
||||
}
|
||||
|
||||
func (es SqlEmojiStore) GetAll() StoreChannel {
|
||||
storeChannel := make(StoreChannel)
|
||||
storeChannel := make(StoreChannel, 1)
|
||||
|
||||
go func() {
|
||||
result := StoreResult{}
|
||||
@@ -139,7 +139,7 @@ func (es SqlEmojiStore) GetAll() StoreChannel {
|
||||
}
|
||||
|
||||
func (es SqlEmojiStore) Delete(id string, time int64) StoreChannel {
|
||||
storeChannel := make(StoreChannel)
|
||||
storeChannel := make(StoreChannel, 1)
|
||||
|
||||
go func() {
|
||||
result := StoreResult{}
|
||||
|
||||
Ссылка в новой задаче
Block a user