Slices & Indexed Errors
Slice of structs
Section titled “Slice of structs”val := v.New()for i, a := range p.Addresses { val.InRow("addresses", i, v.Is( v.String(a.Name, "name").Not().Blank(), v.String(a.Street, "street").Not().Blank(), ))}Slice of strings
Section titled “Slice of strings”val := v.New()for i, tag := range tags { val.InCell("tags", i, v.Is( v.String(tag, "name").Not().Blank(), ))}