good morning!!!!

Skip to content
Snippets Groups Projects
Commit d21dcc00 authored by Piotr "Orange" Zduniak's avatar Piotr "Orange" Zduniak
Browse files

Added skipping of columns

parent aad37379
No related branches found
No related tags found
No related merge requests found
......@@ -287,6 +287,11 @@ func (self *T) FieldValues(item interface{}, convertFn func(interface{}) string)
// field:string
fieldName := tag.Get("field")
if fieldName == "-" {
// Skip the field if its tag's value is -
continue
}
if fieldName == "" {
fieldName = self.ColumnLike(field.Name)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment