Skip to content

Commit

Permalink
Move packages to top level, have seperate go modules (#7)
Browse files Browse the repository at this point in the history
Under this model, all folders are considered independent projects, with no need to upgrade everything at the same time, and no forcing of cross dependencies.
  • Loading branch information
Scott Redig authored Oct 28, 2019
1 parent fc07a9f commit a87e9aa
Show file tree
Hide file tree
Showing 19 changed files with 389 additions and 110 deletions.
15 changes: 15 additions & 0 deletions agones-director-example/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
module open-match.dev/open-match-ecosystem/agones-director-example

go 1.13

require (
agones.dev/agones v1.0.0
github.com/grpc-ecosystem/grpc-gateway v1.11.3 // indirect
golang.org/x/net v0.0.0-20190620200207-3b0461eec859 // indirect
google.golang.org/genproto v0.0.0-20191009194640-548a555dbc03 // indirect
google.golang.org/grpc v1.21.1
gopkg.in/yaml.v2 v2.2.4 // indirect
k8s.io/apimachinery v0.0.0-20190221084156-01f179d85dbc
k8s.io/client-go v9.0.0+incompatible
open-match.dev/open-match v0.4.1-0.20191015212835-2aee5d128d65
)
58 changes: 3 additions & 55 deletions go/go.sum → agones-director-example/go.sum

Large diffs are not rendered by default.

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (

"github.com/golang/protobuf/ptypes"
"github.com/sirupsen/logrus"
"open-match.dev/open-match-ecosystem/go/defaultevaluator"
"open-match.dev/open-match-ecosystem/defaultevaluator"
harness "open-match.dev/open-match/pkg/harness/evaluator/golang"
"open-match.dev/open-match/pkg/pb"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"github.com/golang/protobuf/ptypes"
"github.com/golang/protobuf/ptypes/any"
"github.com/stretchr/testify/assert"
"open-match.dev/open-match-ecosystem/go/defaultevaluator"
"open-match.dev/open-match-ecosystem/defaultevaluator"
harness "open-match.dev/open-match/pkg/harness/evaluator/golang"
"open-match.dev/open-match/pkg/pb"
)
Expand Down
10 changes: 10 additions & 0 deletions defaultevaluator/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module open-match.dev/open-match-ecosystem/defaultevaluator

go 1.13

require (
github.com/golang/protobuf v1.3.2
github.com/sirupsen/logrus v1.4.2
github.com/stretchr/testify v1.4.0
open-match.dev/open-match v0.4.1-0.20191015212835-2aee5d128d65
)
333 changes: 333 additions & 0 deletions defaultevaluator/go.sum

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

syntax = "proto3";
package openmatchecosystem.default_evaluator;
option go_package = "open-match.dev/open-match-ecosystem/go/defaultevaluator";
option go_package = "open-match.dev/open-match-ecosystem/defaultevaluator";
option csharp_namespace = "OpenMatch";

// A DefaultEvaluationCriteria is used for a match's evaluation_input when using
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 5 additions & 0 deletions demoui/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module open-match.dev/open-match-ecosystem/demoui

go 1.13

require golang.org/x/net v0.0.0-20191021144547-ec77196f6094
5 changes: 5 additions & 0 deletions demoui/go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/net v0.0.0-20191021144547-ec77196f6094 h1:5O4U9trLjNpuhpynaDsqwCk+Tw6seqJz1EbqbnzHrc8=
golang.org/x/net v0.0.0-20191021144547-ec77196f6094/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
36 changes: 0 additions & 36 deletions go/go.mod

This file was deleted.

0 comments on commit a87e9aa

Please sign in to comment.