Fix build

This commit is contained in:
Vladimir Mihailenco 2021-02-04 09:34:10 +02:00
parent bd234b91fe
commit b358584bd3
1 changed files with 0 additions and 5 deletions

View File

@ -37,11 +37,6 @@ func (s *structSpec) set(tag string, sf *structField) {
s.m[tag] = sf 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 { func newStructSpec(t reflect.Type, fieldTag string) *structSpec {
out := &structSpec{ out := &structSpec{
m: make(map[string]*structField), m: make(map[string]*structField),