diff --git a/cache.go b/cache.go index 400dd45..bd67f39 100644 --- a/cache.go +++ b/cache.go @@ -77,8 +77,6 @@ type cField struct { cTags *cTag } -// TODO: investigate using enum instead of so many booleans, may be faster -// but let's get the new cache system working first type cTag struct { tag string aliasTag string @@ -91,8 +89,6 @@ type cTag struct { next *cTag } -// TODO: eliminate get and set functions from cache, they are pure overhead for nicer syntax. - func (v *Validate) extractStructCache(current reflect.Value, sName string) *cStruct { v.structCache.lock.Lock()