Lines Matching refs:props
145 func getByName(name string, prefix string, props *[]Property) *Property {
146 for i := range *props {
147 if prefix+(*props)[i].Name == name {
148 return &(*props)[i]
149 } else if strings.HasPrefix(name, prefix+(*props)[i].Name+".") {
150 return getByName(name, prefix+(*props)[i].Name+".", &(*props)[i].Properties)
181 func structProperties(structType *ast.StructType) (props []Property, err error) {
227 props = append(props, Property{
237 return props, nil
248 func filterPropsByTag(props *[]Property, key, value string, exclude bool) {
251 filtered := (*props)[:0]
252 for _, x := range *props {
258 *props = filtered