There is no need to use `assert.Implements` since we can express this check during compile time. Go will eliminate `_` variables and any accompanying allocations during dead-code elimination phase. This commit also removes: tok := new(v1alpha1.ClusterConfig).Token() assert.Implements(t, (*config.Token)(nil), tok) Code since it doesn't check anything - v1alpha1.ClusterConfig.Token() already returns a config.Token interface. Also - run `go work sync` and `go mod tidy`. Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
19 lines
483 B
Modula-2
19 lines
483 B
Modula-2
module github.com/talos-systems/cloud-image-uploader
|
|
|
|
go 1.19
|
|
|
|
require (
|
|
github.com/aws/aws-sdk-go v1.44.95
|
|
github.com/google/uuid v1.3.0
|
|
github.com/spf13/pflag v1.0.5
|
|
github.com/talos-systems/go-retry v0.3.1
|
|
golang.org/x/sync v0.0.0-20220907140024-f12130a52804
|
|
)
|
|
|
|
require (
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
|
github.com/jmespath/go-jmespath v0.4.0 // indirect
|
|
golang.org/x/net v0.0.0-20220909164309-bea034e7d591 // indirect
|
|
gopkg.in/yaml.v2 v2.4.0 // indirect
|
|
)
|