Skip to content

Commit 474b983

Browse files
author
Keerthan Mala
committed
ref(*): move data and handlers packages into pkg
1 parent e33e225 commit 474b983

37 files changed

+11
-11
lines changed

filter_by_age_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"time"
1010

1111
"github.com/arschles/assert"
12-
"github.com/deis/workflow-manager-api/data"
12+
"github.com/deis/workflow-manager-api/pkg/data"
1313
"github.com/deis/workflow-manager-api/rest"
1414
"github.com/pborman/uuid"
1515
)

get_latest_versions_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99
"time"
1010

1111
"github.com/arschles/assert"
12-
"github.com/deis/workflow-manager-api/data"
13-
"github.com/deis/workflow-manager-api/handlers"
12+
"github.com/deis/workflow-manager-api/pkg/data"
13+
"github.com/deis/workflow-manager-api/pkg/handlers"
1414
"github.com/deis/workflow-manager/types"
1515
)
1616

data/README.md pkg/data/README.md

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

data/data.go pkg/data/data.go

File renamed without changes.

data/mem_db.go pkg/data/mem_db.go

File renamed without changes.

data/rds_db.go pkg/data/rds_db.go

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

data/tx.go pkg/data/tx.go

File renamed without changes.
File renamed without changes.

data/util.go pkg/data/util.go

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

handlers/cluster_age_util.go pkg/handlers/cluster_age_util.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"net/http"
66
"time"
77

8-
"github.com/deis/workflow-manager-api/data"
8+
"github.com/deis/workflow-manager-api/pkg/data"
99
"github.com/deis/workflow-manager-api/rest"
1010
)
1111

handlers/clusters_age_handler.go pkg/handlers/clusters_age_handler.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"log"
55
"net/http"
66

7-
"github.com/deis/workflow-manager-api/data"
7+
"github.com/deis/workflow-manager-api/pkg/data"
88
"github.com/jinzhu/gorm"
99
)
1010

File renamed without changes.

handlers/get_latest_component_train_version.go pkg/handlers/get_latest_component_train_version.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"log"
66
"net/http"
77

8-
"github.com/deis/workflow-manager-api/data"
8+
"github.com/deis/workflow-manager-api/pkg/data"
99
"github.com/gorilla/mux"
1010
"github.com/jinzhu/gorm"
1111
)

handlers/get_latest_versions.go pkg/handlers/get_latest_versions.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"log"
77
"net/http"
88

9-
"github.com/deis/workflow-manager-api/data"
9+
"github.com/deis/workflow-manager-api/pkg/data"
1010
"github.com/deis/workflow-manager/types"
1111
"github.com/jinzhu/gorm"
1212
)

handlers/handlers.go pkg/handlers/handlers.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"net/http"
99
"strconv"
1010

11-
"github.com/deis/workflow-manager-api/data"
11+
"github.com/deis/workflow-manager-api/pkg/data"
1212
"github.com/deis/workflow-manager/types"
1313
"github.com/gorilla/mux"
1414
"github.com/jinzhu/gorm"
File renamed without changes.
File renamed without changes.

server.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"net/http"
66
"os"
77

8-
"github.com/deis/workflow-manager-api/data"
9-
"github.com/deis/workflow-manager-api/handlers"
8+
"github.com/deis/workflow-manager-api/pkg/data"
9+
"github.com/deis/workflow-manager-api/pkg/handlers"
1010
"github.com/deis/workflow-manager-api/rest"
1111
"github.com/gorilla/mux"
1212
"github.com/jinzhu/gorm"

server_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"time"
1212

1313
"github.com/arschles/assert"
14-
"github.com/deis/workflow-manager-api/data"
14+
"github.com/deis/workflow-manager-api/pkg/data"
1515
"github.com/deis/workflow-manager/types"
1616
"github.com/jinzhu/gorm"
1717
)

0 commit comments

Comments
 (0)