Skip to content

Commit

Permalink
gomod: Update gopkg.in/yaml.v2 -> gopkg.in/yaml.v3 (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
echarrod authored Sep 18, 2024
1 parent f33cd42 commit 798961e
Show file tree
Hide file tree
Showing 28 changed files with 728 additions and 1,097 deletions.
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require (
github.com/sebdah/goldie/v2 v2.5.5
github.com/stretchr/testify v1.9.0
golang.org/x/tools v0.21.0
gopkg.in/yaml.v2 v2.4.0
gopkg.in/yaml.v3 v3.0.1
)

require (
Expand All @@ -19,5 +19,5 @@ require (
golang.org/x/mod v0.17.0 // indirect
golang.org/x/sync v0.7.0 // indirect
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
)
2 changes: 1 addition & 1 deletion internal/gen_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"github.com/luno/jettison/log"
"github.com/sebdah/goldie/v2"
"github.com/stretchr/testify/require"
"gopkg.in/yaml.v2"
"gopkg.in/yaml.v3"
)

//go:generate go test -update
Expand Down
260 changes: 130 additions & 130 deletions internal/testdata/dev_exchange_tpldata.golden
Original file line number Diff line number Diff line change
Expand Up @@ -3,136 +3,136 @@ tags: ""
backendstype: exchange_ops.Backends
backendsname: Backends
imports:
example/exchange:
name: exchange
pkgpath: example/exchange
aliased: false
example/exchange/db:
name: exchange_db
pkgpath: example/exchange/db
aliased: true
example/exchange/ops:
name: exchange_ops
pkgpath: example/exchange/ops
aliased: true
example/exchange/state:
name: exchange_state
pkgpath: example/exchange/state
aliased: true
example/external/versioned:
name: versioned
pkgpath: example/external/versioned
aliased: false
example/external/versioned/v1:
name: versioned_v1
pkgpath: example/external/versioned/v1
aliased: true
example/identity/email:
name: email
pkgpath: example/identity/email
aliased: false
example/identity/email/client/dev:
name: email_client_dev
pkgpath: example/identity/email/client/dev
aliased: true
example/identity/email/client/logical:
name: email_client_logical
pkgpath: example/identity/email/client/logical
aliased: true
example/identity/email/db:
name: email_db
pkgpath: example/identity/email/db
aliased: true
example/identity/users:
name: users
pkgpath: example/identity/users
aliased: false
example/identity/users/client/dev:
name: users_client_dev
pkgpath: example/identity/users/client/dev
aliased: true
example/identity/users/client/logical:
name: users_client_logical
pkgpath: example/identity/users/client/logical
aliased: true
example/identity/users/db:
name: users_db
pkgpath: example/identity/users/db
aliased: true
example/exchange:
name: exchange
pkgpath: example/exchange
aliased: false
example/exchange/db:
name: exchange_db
pkgpath: example/exchange/db
aliased: true
example/exchange/ops:
name: exchange_ops
pkgpath: example/exchange/ops
aliased: true
example/exchange/state:
name: exchange_state
pkgpath: example/exchange/state
aliased: true
example/external/versioned:
name: versioned
pkgpath: example/external/versioned
aliased: false
example/external/versioned/v1:
name: versioned_v1
pkgpath: example/external/versioned/v1
aliased: true
example/identity/email:
name: email
pkgpath: example/identity/email
aliased: false
example/identity/email/client/dev:
name: email_client_dev
pkgpath: example/identity/email/client/dev
aliased: true
example/identity/email/client/logical:
name: email_client_logical
pkgpath: example/identity/email/client/logical
aliased: true
example/identity/email/db:
name: email_db
pkgpath: example/identity/email/db
aliased: true
example/identity/users:
name: users
pkgpath: example/identity/users
aliased: false
example/identity/users/client/dev:
name: users_client_dev
pkgpath: example/identity/users/client/dev
aliased: true
example/identity/users/client/logical:
name: users_client_logical
pkgpath: example/identity/users/client/logical
aliased: true
example/identity/users/db:
name: users_db
pkgpath: example/identity/users/db
aliased: true
params: []
deps:
- type: email.Client
var: email
getter: Email
isduplicate: false
provider:
funcpkg: email_client_dev
funcname: Make
returnserr: true
params:
- '&b'
errwrapmsg: email client dev make
- type: '*email_db.EmailDB'
var: emailDB
getter: EmailDB
isduplicate: false
provider:
funcpkg: email_db
funcname: Connect
returnserr: true
params: []
errwrapmsg: email db connect
- type: '*exchange_db.ExchangeDB'
var: exchangeDB
getter: ExchangeDB
isduplicate: false
provider:
funcpkg: exchange_db
funcname: Connect
returnserr: true
params: []
errwrapmsg: exchange db connect
- type: chan<- exchange.Model
var: modelChan
getter: ModelChan
isduplicate: false
provider:
funcpkg: exchange_state
funcname: NewModelChan
returnserr: false
params: []
errwrapmsg: exchange state new model chan
- type: users.Client
var: users
getter: Users
isduplicate: false
provider:
funcpkg: users_client_dev
funcname: Make
returnserr: true
params:
- '&b'
errwrapmsg: users client dev make
- type: '*users_db.UsersDB'
var: usersDB
getter: UsersDB
isduplicate: false
provider:
funcpkg: users_db
funcname: Connect
returnserr: true
params: []
errwrapmsg: users db connect
- type: '*versioned_v1.Service'
var: versioned
getter: Versioned
isduplicate: false
provider:
funcpkg: versioned
funcname: New
returnserr: false
params: []
errwrapmsg: versioned new
- type: email.Client
var: email
getter: Email
isduplicate: false
provider:
funcpkg: email_client_dev
funcname: Make
returnserr: true
params:
- '&b'
errwrapmsg: email client dev make
- type: '*email_db.EmailDB'
var: emailDB
getter: EmailDB
isduplicate: false
provider:
funcpkg: email_db
funcname: Connect
returnserr: true
params: []
errwrapmsg: email db connect
- type: '*exchange_db.ExchangeDB'
var: exchangeDB
getter: ExchangeDB
isduplicate: false
provider:
funcpkg: exchange_db
funcname: Connect
returnserr: true
params: []
errwrapmsg: exchange db connect
- type: chan<- exchange.Model
var: modelChan
getter: ModelChan
isduplicate: false
provider:
funcpkg: exchange_state
funcname: NewModelChan
returnserr: false
params: []
errwrapmsg: exchange state new model chan
- type: users.Client
var: users
getter: Users
isduplicate: false
provider:
funcpkg: users_client_dev
funcname: Make
returnserr: true
params:
- '&b'
errwrapmsg: users client dev make
- type: '*users_db.UsersDB'
var: usersDB
getter: UsersDB
isduplicate: false
provider:
funcpkg: users_db
funcname: Connect
returnserr: true
params: []
errwrapmsg: users db connect
- type: '*versioned_v1.Service'
var: versioned
getter: Versioned
isduplicate: false
provider:
funcpkg: versioned
funcname: New
returnserr: false
params: []
errwrapmsg: versioned new
transbcks:
- email_client_logical.Backends
- users_client_logical.Backends
- email_client_logical.Backends
- users_client_logical.Backends
Loading

0 comments on commit 798961e

Please sign in to comment.