Navigation Menu

Skip to content

Commit

Permalink
Merge pull request #5 from qneyrat/refacto
Browse files Browse the repository at this point in the history
improve code
  • Loading branch information
eko committed Mar 27, 2018
2 parents c902156 + f8d096a commit 9c20cf3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion coach/emails.go
Expand Up @@ -6,10 +6,11 @@ import (
"strings"
"time"

"../config"
"github.com/mattbaird/gochimp"
log "github.com/sirupsen/logrus"
"google.golang.org/api/sheets/v4"

"github.com/eleven-labs/coach-bot/config"
)

// PlanningEntry defines a planning for a coach.
Expand Down
2 changes: 1 addition & 1 deletion coach/global.go
Expand Up @@ -4,7 +4,7 @@ import (
"strconv"
"time"

"../config"
"github.com/eleven-labs/coach-bot/config"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion google/api.go
@@ -1,6 +1,7 @@
package google

import (
"context"
"encoding/json"
"fmt"
"io/ioutil"
Expand All @@ -11,7 +12,6 @@ import (
"path/filepath"

log "github.com/sirupsen/logrus"
"golang.org/x/net/context"
"golang.org/x/oauth2"
"golang.org/x/oauth2/google"
"google.golang.org/api/sheets/v4"
Expand Down
6 changes: 3 additions & 3 deletions main.go
@@ -1,13 +1,13 @@
package main

import (
"./coach"
"github.com/eko/slackbot"
"github.com/robfig/cron"
log "github.com/sirupsen/logrus"

"./config"
"./google"
"github.com/eleven-labs/coach-bot/coach"
"github.com/eleven-labs/coach-bot/config"
"github.com/eleven-labs/coach-bot/google"
)

func main() {
Expand Down

0 comments on commit 9c20cf3

Please sign in to comment.