From b358584bd3adbe34d03c2087ead5c01a31ea97cd Mon Sep 17 00:00:00 2001 From: Vladimir Mihailenco Date: Thu, 4 Feb 2021 09:34:10 +0200 Subject: [PATCH] Fix build --- internal/hscan/structmap.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/internal/hscan/structmap.go b/internal/hscan/structmap.go index c913c61..37d86ba 100644 --- a/internal/hscan/structmap.go +++ b/internal/hscan/structmap.go @@ -37,11 +37,6 @@ func (s *structSpec) set(tag string, sf *structField) { s.m[tag] = sf } -func (s *structSpec) get(tag string) (*structField, bool) { - f, ok := s.m[tag] - return f, ok -} - func newStructSpec(t reflect.Type, fieldTag string) *structSpec { out := &structSpec{ m: make(map[string]*structField),