Skip to content

Commit

Permalink
Merge pull request #172 from loopholelabs/alex/frpc-19-update-polyglo…
Browse files Browse the repository at this point in the history
…t-dependencies-to-fix-versioning

Update polyglot dependency to point to v2 major version
  • Loading branch information
SuperManifolds authored Apr 23, 2024
2 parents acf1d47 + f11315d commit da667d4
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion frisbee.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (

"github.com/loopholelabs/frisbee-go/pkg/metadata"
"github.com/loopholelabs/frisbee-go/pkg/packet"
"github.com/loopholelabs/polyglot"
"github.com/loopholelabs/polyglot/v2"
)

// These are various frisbee errors that can be returned by the client or server:
Expand Down
5 changes: 3 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
module github.com/loopholelabs/frisbee-go

go 1.20
go 1.21.4

require (
github.com/loopholelabs/common v0.4.9
github.com/loopholelabs/polyglot v1.2.2
github.com/loopholelabs/polyglot v1.3.0
github.com/loopholelabs/polyglot/v2 v2.0.0
github.com/loopholelabs/testing v0.2.3
github.com/rs/zerolog v1.32.0
github.com/stretchr/testify v1.9.0
Expand Down
8 changes: 6 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA=
github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI=
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
github.com/loopholelabs/common v0.4.9 h1:9MPUYlZZ/qx3Kt8LXgXxcSXthrM91od8026c4DlGpAU=
github.com/loopholelabs/common v0.4.9/go.mod h1:Wop5srN1wYT+mdQ9gZ+kn2I9qKAyVd0FB48pThwIa9M=
github.com/loopholelabs/polyglot v1.2.2 h1:HQQh7CfWw5genuaNUX2RPiyDRz9YOR3tF6SbIl7YuBY=
github.com/loopholelabs/polyglot v1.2.2/go.mod h1:w9F5kdv3EzE2r7scpmj29hoySRr7NNLjpeUL4ALMusA=
github.com/loopholelabs/polyglot v1.3.0 h1:pOQjZHo4X/VEjADkmM2tXHui8NFkOlmaU4D/4W18WK8=
github.com/loopholelabs/polyglot v1.3.0/go.mod h1:w9F5kdv3EzE2r7scpmj29hoySRr7NNLjpeUL4ALMusA=
github.com/loopholelabs/polyglot/v2 v2.0.0 h1:apwXs/A0g/6GEoj/n3+6orKYl17Qj4dSK8azmFuY110=
github.com/loopholelabs/polyglot/v2 v2.0.0/go.mod h1:V9WoilbgAJ3q5MQO4XwGhrmSpufW7XJK7KKESnWI3Mg=
github.com/loopholelabs/testing v0.2.3 h1:4nVuK5ctaE6ua5Z0dYk2l7xTFmcpCYLUeGjRBp8keOA=
github.com/loopholelabs/testing v0.2.3/go.mod h1:gqtGY91soYD1fQoKQt/6kP14OYpS7gcbcIgq5mc9m8Q=
github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA=
Expand Down Expand Up @@ -37,5 +40,6 @@ golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4=
golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY=
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
2 changes: 1 addition & 1 deletion pkg/packet/packet.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package packet

import (
"github.com/loopholelabs/frisbee-go/pkg/metadata"
"github.com/loopholelabs/polyglot"
"github.com/loopholelabs/polyglot/v2"
)

// Packet is the structured frisbee data packet, and contains the following:
Expand Down

0 comments on commit da667d4

Please sign in to comment.