Skip to content

Commit

Permalink
unused mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
jooola committed Aug 14, 2024
1 parent a0a3b28 commit 63982ad
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions internal/mocks/casts.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,22 +55,6 @@ func getNetworkPtr(args mock.Arguments, i int) *hcloud.Network {
return v.(*hcloud.Network)
}

func getIntChan(args mock.Arguments, i int) chan int {
v := args.Get(i)
if v == nil {
return nil
}
return v.(chan int)
}

func getErrChan(args mock.Arguments, i int) chan error {
v := args.Get(i)
if v == nil {
return nil
}
return v.(chan error)
}

func getCertificatePtr(args mock.Arguments, i int) *hcloud.Certificate {
v := args.Get(i)
if v == nil {
Expand Down

0 comments on commit 63982ad

Please sign in to comment.