diff options
| author | Paul Buetow <pbuetow@mimecast.com> | 2024-02-23 15:01:41 +0200 |
|---|---|---|
| committer | Paul Buetow <pbuetow@mimecast.com> | 2024-02-23 15:01:41 +0200 |
| commit | a3e10757a52fa47a0608afd88986162ca5eb22cc (patch) | |
| tree | dce61c6695bc3badd455a64767252e6947b32711 /internal/mapr/fieldtypes.go | |
| parent | 85780654df870dc4170b93a8ed5a5dbfa917fe5d (diff) | |
lint warnings
Diffstat (limited to 'internal/mapr/fieldtypes.go')
| -rw-r--r-- | internal/mapr/fieldtypes.go | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/internal/mapr/fieldtypes.go b/internal/mapr/fieldtypes.go index a64efd1..4242407 100644 --- a/internal/mapr/fieldtypes.go +++ b/internal/mapr/fieldtypes.go @@ -1,7 +1,5 @@ package mapr -import "fmt" - type fieldType int // The possible field types. @@ -16,14 +14,14 @@ const ( func (w fieldType) String() string { switch w { case Field: - return fmt.Sprintf("Field") + return "Field" case String: - return fmt.Sprintf("String") + return "String" case Float: - return fmt.Sprintf("Float") + return "Float" case FunctionStack: - return fmt.Sprintf("FunctionStack") + return "FunctionStack" default: - return fmt.Sprintf("UndefFieldType") + return "UndefFieldType" } } |
