Skip to content

Commit a0e26e0

Browse files
authored
Change all imports, regenerate ent code, be sad for a while (#318)
* Change all imports, regenerate ent code, be sad for a while * Fix another one of these
1 parent e875f0c commit a0e26e0

Some content is hidden

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

104 files changed

+24014
-8731
lines changed

cmd/teamserver/graph_prod.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build !dev
12
// +build !dev
23

34
package main
@@ -10,7 +11,7 @@ import (
1011
"strconv"
1112
"time"
1213

13-
entsql "github.com/facebookincubator/ent/dialect/sql"
14+
entsql "entgo.io/ent/dialect/sql"
1415
"github.com/kcarretto/paragon/ent"
1516
"github.com/kcarretto/paragon/ent/migrate"
1617

cmd/teamserver/init/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ type Schema struct {
3939
Targets []struct {
4040
Name string `json:"name"`
4141
PrimaryIP string `json:"ip"`
42-
OS string `json: "os"`
42+
OS string `json:"os"`
4343
Tags []string `json:"tags"`
4444
} `json:"targets"`
4545
}

docker/build.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ RUN apk add alpine-sdk git protobuf-dev \
66
&& go mod download \
77
&& go get -u \
88
github.com/golang/mock/mockgen \
9-
github.com/facebookincubator/ent/cmd/entc \
9+
entgo.io/ent/cmd/entc \
1010
github.com/gogo/protobuf/protoc-gen-gogoslick \
1111
github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway \
1212
github.com/mattn/goveralls \

0 commit comments

Comments
 (0)