add otel as separate module #10

Merged
andrey merged 10 commits from handlers into master 2024-01-02 16:57:10 +03:00
2 changed files with 4 additions and 3 deletions
Showing only changes of commit 326a9b60c1 - Show all commits

View File

@@ -52,6 +52,7 @@ linters:
- maligned
- depguard # need configure
- nolintlint # use with space
issues:
# Excluding configuration per-path, per-linter, per-text and per-source

View File

@@ -1,4 +1,4 @@
//nolint: exhaustruct
// nolint: exhaustruct
package field
import (
@@ -504,7 +504,7 @@ func (v Value) append(dst []byte) []byte {
}
}
//nolint: gocyclo,cyclop
// nolint: gocyclo,cyclop
func (v Value) Any() any {
switch v.Kind {
case KindAny, KindBinary:
@@ -542,7 +542,7 @@ func (v Value) Any() any {
return v.any
}
//nolint: forcetypeassert
// nolint: forcetypeassert
func (v Value) AsString() string {
if v.Kind != KindString {
return ""