diff --git a/lazy.go b/lazy.go index 9e7c708..525c23f 100644 --- a/lazy.go +++ b/lazy.go @@ -149,11 +149,11 @@ func RandomStruct(c StructConfig) (*StructMock, error) { filled = reflect.Append(filled, reflect.ValueOf(c.Example)) for y := 0; y < maxFieldCount; y++ { field := retType.Field(y) - // dbTag := field.Tag.Get(DB_TAG) - // // no db tag, we skip - // if dbTag == "" { - // continue - // } + dbTag := field.Tag.Get(DB_TAG) + // no db tag, we skip + if dbTag == "" { + continue + } //get random value nv := kindToRandom(field)