Skip to content

Commit

Permalink
[refactor] Update typeid import refs (#335)
Browse files Browse the repository at this point in the history
## Summary

typeid module name has been changed. Some dependencies have the new name
and some have the old one.

This updates most references. There's a few indirect ones that are still
showing up due to go mod tidy. I think once we public the new repos and
I repeat this step, the existing old references will go away.

## How was it tested?

builds, lints, etc.
  • Loading branch information
mikeland73 committed Jun 4, 2024
1 parent ff645cd commit 9d0162f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cli/decode.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package cli

import (
"github.com/spf13/cobra"
"go.jetpack.io/typeid"
"go.jetify.com/typeid"
)

func DecodeCmd() *cobra.Command {
Expand Down
2 changes: 1 addition & 1 deletion cli/encode.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package cli

import (
"github.com/spf13/cobra"
"go.jetpack.io/typeid"
"go.jetify.com/typeid"
)

func EncodeCmd() *cobra.Command {
Expand Down
2 changes: 1 addition & 1 deletion cli/new.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"strings"

"github.com/spf13/cobra"
"go.jetpack.io/typeid"
"go.jetify.com/typeid"
)

func NewCmd() *cobra.Command {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ toolchain go1.22.1

require (
github.com/spf13/cobra v1.8.0
go.jetpack.io/typeid v1.0.1-0.20240410183543-96a4fd53d1e2
go.jetify.com/typeid v1.1.0
)

require (
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
go.jetpack.io/typeid v1.0.1-0.20240410183543-96a4fd53d1e2 h1:w9uWg8BAim374iWzxEuDhf6MJ/cMQVR/0xi/L3DgfT0=
go.jetpack.io/typeid v1.0.1-0.20240410183543-96a4fd53d1e2/go.mod h1:zqBUNjE3NxAL8wRYW2LcOpH5LxCvTqthm9YSuuu1ic4=
go.jetify.com/typeid v1.1.0 h1:eRW/BBYx1Kh3DiOKBLaAHbwomxK4jm4/tWuNshN5wXY=
go.jetify.com/typeid v1.1.0/go.mod h1:68KXnMPJvJi4Pf2vUhr1QtWo5LfXzMwbUdLfwPlO4jI=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
Expand Down

0 comments on commit 9d0162f

Please sign in to comment.