Skip to content
This repository has been archived by the owner on May 6, 2021. It is now read-only.

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
tinakurian committed Oct 29, 2018
1 parent 27ad7f3 commit 3dd9b58
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
1 change: 1 addition & 0 deletions controllers/build-tool-detector.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import (
"encoding/json"
"errors"
"fmt"

"github.com/goadesign/goa"
"github.com/tinakurian/build-tool-detector/app"
"github.com/tinakurian/build-tool-detector/config"
Expand Down
3 changes: 2 additions & 1 deletion controllers/build-tool-detector_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ go-github api calls.
package controllers_test

import (
"io/ioutil"

"github.com/goadesign/goa"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
Expand All @@ -16,7 +18,6 @@ import (
"github.com/tinakurian/build-tool-detector/config"
controllers "github.com/tinakurian/build-tool-detector/controllers"
"gopkg.in/h2non/gock.v1"
"io/ioutil"
)

var _ = Describe("BuildToolDetector", func() {
Expand Down
3 changes: 2 additions & 1 deletion domain/repository/github/github_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ package github
import (
"context"
"errors"
"net/http"

"github.com/google/go-github/github"
"github.com/tinakurian/build-tool-detector/config"
"github.com/tinakurian/build-tool-detector/domain/types"
"net/http"
)

const (
Expand Down
5 changes: 3 additions & 2 deletions domain/repository/repository_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ package repository

import (
"errors"
"net/url"
"strings"

"github.com/tinakurian/build-tool-detector/config"
"github.com/tinakurian/build-tool-detector/domain/repository/github"
"github.com/tinakurian/build-tool-detector/domain/types"
"net/url"
"strings"
)

var (
Expand Down
7 changes: 4 additions & 3 deletions tool/build-tool-detector-cli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@ package main

import (
"fmt"
"net/http"
"os"
"time"

goaclient "github.com/goadesign/goa/client"
"github.com/spf13/cobra"
"github.com/tinakurian/build-tool-detector/client"
"github.com/tinakurian/build-tool-detector/tool/cli"
"net/http"
"os"
"time"
)

func main() {
Expand Down

0 comments on commit 3dd9b58

Please sign in to comment.