@@ -16,7 +16,7 @@ func Test_CorePrinter(t *testing.T) {
1616 & Command {
1717 Namespace : "get" ,
1818 ArgsType : reflect .TypeOf (struct {}{}),
19- Run : func (ctx context.Context , argsI interface {}) (interface {}, error ) {
19+ Run : func (_ context.Context , _ interface {}) (interface {}, error ) {
2020 return Human {
2121 ID : "111111111-111111111" ,
2222 Name : "David Copperfield" ,
@@ -26,7 +26,7 @@ func Test_CorePrinter(t *testing.T) {
2626 & Command {
2727 Namespace : "list" ,
2828 ArgsType : reflect .TypeOf (struct {}{}),
29- Run : func (ctx context.Context , argsI interface {}) (interface {}, error ) {
29+ Run : func (_ context.Context , _ interface {}) (interface {}, error ) {
3030 return []* Human {
3131 {ID : "111111111-111111111" , Name : "David Copperfield" },
3232 {ID : "222222222-222222222" , Name : "Xavier Niel" },
@@ -76,7 +76,7 @@ func Test_YamlPrinter(t *testing.T) {
7676 & Command {
7777 Namespace : "get" ,
7878 ArgsType : reflect .TypeOf (struct {}{}),
79- Run : func (ctx context.Context , argsI interface {}) (interface {}, error ) {
79+ Run : func (_ context.Context , _ interface {}) (interface {}, error ) {
8080 return Human {
8181 ID : "111111111-111111111" ,
8282 Name : "David Copperfield" ,
@@ -86,7 +86,7 @@ func Test_YamlPrinter(t *testing.T) {
8686 & Command {
8787 Namespace : "list" ,
8888 ArgsType : reflect .TypeOf (struct {}{}),
89- Run : func (ctx context.Context , argsI interface {}) (interface {}, error ) {
89+ Run : func (_ context.Context , _ interface {}) (interface {}, error ) {
9090 return []* Human {
9191 {ID : "111111111-111111111" , Name : "David Copperfield" },
9292 {ID : "222222222-222222222" , Name : "Xavier Niel" },
@@ -96,7 +96,7 @@ func Test_YamlPrinter(t *testing.T) {
9696 & Command {
9797 Namespace : "NilSlice" ,
9898 ArgsType : reflect .TypeOf (struct {}{}),
99- Run : func (ctx context.Context , argsI interface {}) (interface {}, error ) {
99+ Run : func (_ context.Context , _ interface {}) (interface {}, error ) {
100100 return []Human {}, nil
101101 },
102102 },
@@ -149,7 +149,7 @@ func Test_TemplatePrinter(t *testing.T) {
149149 & Command {
150150 Namespace : "get" ,
151151 ArgsType : reflect .TypeOf (struct {}{}),
152- Run : func (ctx context.Context , argsI interface {}) (interface {}, error ) {
152+ Run : func (_ context.Context , _ interface {}) (interface {}, error ) {
153153 return Human {
154154 ID : "111111111-111111111" ,
155155 Name : "David Copperfield" ,
@@ -159,7 +159,7 @@ func Test_TemplatePrinter(t *testing.T) {
159159 & Command {
160160 Namespace : "list" ,
161161 ArgsType : reflect .TypeOf (struct {}{}),
162- Run : func (ctx context.Context , argsI interface {}) (interface {}, error ) {
162+ Run : func (_ context.Context , _ interface {}) (interface {}, error ) {
163163 return []* Human {
164164 {ID : "111111111-111111111" , Name : "David Copperfield" },
165165 {ID : "222222222-222222222" , Name : "Xavier Niel" },
@@ -169,7 +169,7 @@ func Test_TemplatePrinter(t *testing.T) {
169169 & Command {
170170 Namespace : "NilSlice" ,
171171 ArgsType : reflect .TypeOf (struct {}{}),
172- Run : func (ctx context.Context , argsI interface {}) (interface {}, error ) {
172+ Run : func (_ context.Context , _ interface {}) (interface {}, error ) {
173173 return []Human {}, nil
174174 },
175175 },
0 commit comments