Skip to content

Commit

Permalink
Import Fixes !!!
Browse files Browse the repository at this point in the history
  • Loading branch information
Deeptiman committed Jun 14, 2021
1 parent 1fb024a commit 28e7d11
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 395 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ vendor.orig
configs
go-cache-kubernetes
kompose
dump.rdb
dump.rdb
go.sum
go.mod
15 changes: 0 additions & 15 deletions go.mod

This file was deleted.

368 changes: 0 additions & 368 deletions go.sum

This file was deleted.

2 changes: 1 addition & 1 deletion handlers/handler_create_employee.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package handlers
import (
"net/http"

"github.com/go-cache-kubernetes/database"
"go-cache-kubernetes/database"
)

// swagger:route POST /employees create_employee
Expand Down
2 changes: 1 addition & 1 deletion handlers/handler_delete_employee.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package handlers
import (
"net/http"

"github.com/go-cache-kubernetes/database"
"go-cache-kubernetes/database"
)

// swagger:route DELETE /api/{id} employees delete_employee
Expand Down
2 changes: 1 addition & 1 deletion handlers/handler_get_employees.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package handlers
import (
"net/http"

"github.com/go-cache-kubernetes/database"
"go-cache-kubernetes/database"
)

// swagger:route GET /api employees get_all_employees
Expand Down
3 changes: 2 additions & 1 deletion handlers/handler_manager.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
package handlers

import (
"github.com/go-cache-kubernetes/database"
"go-cache-kubernetes/database"

"github.com/hashicorp/go-hclog"
)

Expand Down
3 changes: 2 additions & 1 deletion handlers/handler_response_validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import (
"net/http"
"strconv"

"github.com/go-cache-kubernetes/database"
"go-cache-kubernetes/database"

"github.com/gorilla/mux"
)

Expand Down
2 changes: 1 addition & 1 deletion handlers/handler_update_employee.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package handlers
import (
"net/http"

"github.com/go-cache-kubernetes/database"
"go-cache-kubernetes/database"
)

// swagger:route PUT /api/{id} employees update_employee
Expand Down
3 changes: 2 additions & 1 deletion kafka/kafka_consumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ import (
"fmt"
"net/http"

"go-cache-kubernetes/database"

"github.com/confluentinc/confluent-kafka-go/kafka"
"github.com/go-cache-kubernetes/database"
"github.com/hashicorp/go-hclog"
)

Expand Down
3 changes: 2 additions & 1 deletion kafka/kafka_producer.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ import (
"fmt"
"net/http"

"go-cache-kubernetes/database"

"github.com/confluentinc/confluent-kafka-go/kafka"
"github.com/go-cache-kubernetes/database"
"github.com/hashicorp/go-hclog"
)

Expand Down
7 changes: 4 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ import (
"os"
"time"

"github.com/go-cache-kubernetes/database"
"github.com/go-cache-kubernetes/handlers"
"github.com/go-cache-kubernetes/kafka"
"go-cache-kubernetes/database"
"go-cache-kubernetes/handlers"
"go-cache-kubernetes/kafka"

"github.com/go-openapi/runtime/middleware"
gohandlers "github.com/gorilla/handlers"
"github.com/gorilla/mux"
Expand Down

0 comments on commit 28e7d11

Please sign in to comment.