style: fix goland warnings for unused parameters
This commit is contained in:
parent
eb8b9abe1a
commit
a1c991bcbd
2 changed files with 2 additions and 2 deletions
|
@ -65,7 +65,7 @@ func (formatter *FormatterJSON) Process(entry *Entry) {
|
|||
}
|
||||
}
|
||||
|
||||
func (formatter *FormatterJSON) End(entry *Entry) []byte {
|
||||
func (formatter *FormatterJSON) End(_ *Entry) []byte {
|
||||
// build JSON
|
||||
data, err := json.Marshal(formatter.data)
|
||||
if err != nil {
|
||||
|
|
|
@ -82,7 +82,7 @@ func (formatter *FormatterKeyValue) addKV(key string, value any) {
|
|||
formatter.builder.WriteString(val)
|
||||
}
|
||||
|
||||
func (formatter *FormatterKeyValue) End(entry *Entry) []byte {
|
||||
func (formatter *FormatterKeyValue) End(_ *Entry) []byte {
|
||||
// send data
|
||||
return []byte(formatter.builder.String())
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue