mirror of
https://github.com/redis/go-redis.git
synced 2025-04-17 20:17:02 +03:00
Fix build
This commit is contained in:
parent
bd234b91fe
commit
b358584bd3
@ -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),
|
||||
|
Loading…
x
Reference in New Issue
Block a user