Skip to content

Commit 7969c1b

Browse files
fix
1 parent 3fc6958 commit 7969c1b

File tree

3 files changed

+20
-5
lines changed

3 files changed

+20
-5
lines changed

internal/clioptions/printer.go

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
// Copyright Mia srl
2+
// SPDX-License-Identifier: Apache-2.0
3+
//
4+
// Licensed under the Apache License, Version 2.0 (the "License");
5+
// you may not use this file except in compliance with the License.
6+
// You may obtain a copy of the License at
7+
//
8+
// http://www.apache.org/licenses/LICENSE-2.0
9+
//
10+
// Unless required by applicable law or agreed to in writing, software
11+
// distributed under the License is distributed on an "AS IS" BASIS,
12+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
// See the License for the specific language governing permissions and
14+
// limitations under the License.
15+
116
package clioptions
217

318
import (

internal/printer/nopprinter.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@ import (
2121

2222
type NopPrinter struct{}
2323

24-
func (n *NopPrinter) SetWriter(w io.Writer) IPrinter {
24+
func (n *NopPrinter) SetWriter(_ io.Writer) IPrinter {
2525
return n
2626
}
2727

28-
func (n *NopPrinter) Keys(keys ...string) IPrinter {
28+
func (n *NopPrinter) Keys(_ ...string) IPrinter {
2929
return n
3030
}
3131

32-
func (n *NopPrinter) Record(recordValues ...string) IPrinter {
32+
func (n *NopPrinter) Record(_ ...string) IPrinter {
3333
return n
3434
}
3535

36-
func (n *NopPrinter) BulkRecords(records ...[]string) IPrinter {
36+
func (n *NopPrinter) BulkRecords(_ ...[]string) IPrinter {
3737
return n
3838
}
3939

internal/printer/printer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// you may not use this file except in compliance with the License.
66
// You may obtain a copy of the License at
77
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
8+
// http://www.apache.org/licenses/LICENSE-2.0
99
//
1010
// Unless required by applicable law or agreed to in writing, software
1111
// distributed under the License is distributed on an "AS IS" BASIS,

0 commit comments

Comments
 (0)