aboutsummaryrefslogtreecommitdiff
path: root/api/external_services.go
diff options
context:
space:
mode:
authorjloup <jeanloup.jamet@gmail.com>2018-05-10 16:22:29 +0200
committerjloup <jeanloup.jamet@gmail.com>2018-05-10 16:22:29 +0200
commit299b6b6d9fb879c06e675ef240f361348629ff6c (patch)
tree27909cd54e53d58e612da93e15f1005af86870ec /api/external_services.go
parent3b8833854f83f75e3d16c1fdb869937f690e48ea (diff)
downloadFront-299b6b6d9fb879c06e675ef240f361348629ff6c.tar.gz
Front-299b6b6d9fb879c06e675ef240f361348629ff6c.tar.zst
Front-299b6b6d9fb879c06e675ef240f361348629ff6c.zip
Add column 'status' to market_configs.v0.0.9
Diffstat (limited to 'api/external_services.go')
-rw-r--r--api/external_services.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/external_services.go b/api/external_services.go
index c467171..41f4d87 100644
--- a/api/external_services.go
+++ b/api/external_services.go
@@ -7,8 +7,8 @@ import (
7) 7)
8 8
9// Use this to call external services. It will handle timeout and request cancellation gracefully. 9// Use this to call external services. It will handle timeout and request cancellation gracefully.
10func CallExternalService(tag string, timeout time.Duration, routine func() *Error) *Error { 10func CallExternalService(tag string, timeout time.Duration, routine func() error) error {
11 routineDone := make(chan *Error) 11 routineDone := make(chan error)
12 12
13 go func() { 13 go func() {
14 routineDone <- routine() 14 routineDone <- routine()