Skip to content

Commit a40118c

Browse files
authored
change import paths from NYTimes to video-dev (#292)
* change import paths from NYTimes to video-dev * fix import order
1 parent 5408e58 commit a40118c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+144
-146
lines changed

config/config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
package config // import "github.com/NYTimes/video-transcoding-api/config"
1+
package config // import "github.com/video-dev/video-transcoding-api/config"
22

33
import (
44
"github.com/NYTimes/gizmo/server"
5-
"github.com/NYTimes/video-transcoding-api/db/redis/storage"
65
logging "github.com/fsouza/gizmo-stackdriver-logging"
76
"github.com/kelseyhightower/envconfig"
7+
"github.com/video-dev/video-transcoding-api/db/redis/storage"
88
)
99

1010
// Config is a struct to contain all the needed configuration for the

config/config_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ import (
55
"testing"
66

77
"github.com/NYTimes/gizmo/server"
8-
"github.com/NYTimes/video-transcoding-api/db/redis/storage"
98
logging "github.com/fsouza/gizmo-stackdriver-logging"
109
"github.com/google/go-cmp/cmp"
1110
"github.com/google/go-cmp/cmp/cmpopts"
11+
"github.com/video-dev/video-transcoding-api/db/redis/storage"
1212
)
1313

1414
func TestLoadConfigFromEnv(t *testing.T) {

db/dbtest/fake_db.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
package dbtest // import "github.com/NYTimes/video-transcoding-api/db/dbtest"
1+
package dbtest // import "github.com/video-dev/video-transcoding-api/db/dbtest"
22

33
import (
44
"errors"
55
"time"
66

7-
"github.com/NYTimes/video-transcoding-api/db"
7+
"github.com/video-dev/video-transcoding-api/db"
88
)
99

1010
type fakeRepository struct {

db/dbtest/fake_db_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"testing"
66
"time"
77

8-
"github.com/NYTimes/video-transcoding-api/db"
8+
"github.com/video-dev/video-transcoding-api/db"
99
)
1010

1111
const dbErrorMsg = "database error"

db/redis/job.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import (
55
"strconv"
66
"time"
77

8-
"github.com/NYTimes/video-transcoding-api/db"
9-
"github.com/NYTimes/video-transcoding-api/db/redis/storage"
108
"github.com/go-redis/redis"
9+
"github.com/video-dev/video-transcoding-api/db"
10+
"github.com/video-dev/video-transcoding-api/db/redis/storage"
1111
)
1212

1313
const jobsSetKey = "jobs"

db/redis/job_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ import (
88
"testing"
99
"time"
1010

11-
"github.com/NYTimes/video-transcoding-api/config"
12-
"github.com/NYTimes/video-transcoding-api/db"
13-
"github.com/NYTimes/video-transcoding-api/db/redis/storage"
1411
"github.com/go-redis/redis"
1512
"github.com/kr/pretty"
13+
"github.com/video-dev/video-transcoding-api/config"
14+
"github.com/video-dev/video-transcoding-api/db"
15+
"github.com/video-dev/video-transcoding-api/db/redis/storage"
1616
)
1717

1818
func TestCreateJob(t *testing.T) {

db/redis/localpreset.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ package redis
33
import (
44
"errors"
55

6-
"github.com/NYTimes/video-transcoding-api/db"
7-
"github.com/NYTimes/video-transcoding-api/db/redis/storage"
86
"github.com/go-redis/redis"
7+
"github.com/video-dev/video-transcoding-api/db"
8+
"github.com/video-dev/video-transcoding-api/db/redis/storage"
99
)
1010

1111
const localPresetsSetKey = "localpresets"

db/redis/localpreset_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import (
44
"reflect"
55
"testing"
66

7-
"github.com/NYTimes/video-transcoding-api/config"
8-
"github.com/NYTimes/video-transcoding-api/db"
9-
"github.com/NYTimes/video-transcoding-api/db/redis/storage"
7+
"github.com/video-dev/video-transcoding-api/config"
8+
"github.com/video-dev/video-transcoding-api/db"
9+
"github.com/video-dev/video-transcoding-api/db/redis/storage"
1010
)
1111

1212
func TestCreateLocalPreset(t *testing.T) {

db/redis/presetmap.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
package redis
22

33
import (
4-
"github.com/NYTimes/video-transcoding-api/db"
5-
"github.com/NYTimes/video-transcoding-api/db/redis/storage"
64
"github.com/go-redis/redis"
5+
"github.com/video-dev/video-transcoding-api/db"
6+
"github.com/video-dev/video-transcoding-api/db/redis/storage"
77
)
88

99
const presetmapsSetKey = "presetmaps"

db/redis/presetmap_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import (
44
"reflect"
55
"testing"
66

7-
"github.com/NYTimes/video-transcoding-api/config"
8-
"github.com/NYTimes/video-transcoding-api/db"
9-
"github.com/NYTimes/video-transcoding-api/db/redis/storage"
7+
"github.com/video-dev/video-transcoding-api/config"
8+
"github.com/video-dev/video-transcoding-api/db"
9+
"github.com/video-dev/video-transcoding-api/db/redis/storage"
1010
)
1111

1212
func TestCreatePresetMap(t *testing.T) {

0 commit comments

Comments
 (0)