Skip to content

Commit

Permalink
Added setData method to filterview
Browse files Browse the repository at this point in the history
  • Loading branch information
Davide Bonomini committed Sep 27, 2023
1 parent 5bb41a7 commit 20cf9dc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions viewfn/filterview.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ func (fv *FilterView) Debug() *FilterView {
func (fv FilterView) GetData() []map[string]interface{} {
return fv.data
}
func (fv *FilterView) SetData(in []map[string]interface{}) {
fv.data = in
}

func getName(t reflect.Type) string {
parts := strings.Split(t.Name(), ".")
Expand Down

0 comments on commit 20cf9dc

Please sign in to comment.