Skip to content

Instantly share code, notes, and snippets.

@slimsag
Created January 1, 2021 21:15
Show Gist options
  • Save slimsag/b92e8f1e82f33afa5d075c14578a41b7 to your computer and use it in GitHub Desktop.
Save slimsag/b92e8f1e82f33afa5d075c14578a41b7 to your computer and use it in GitHub Desktop.
v := [2]interface{}{
&st.Query{DocTypes: &st.DocTypes{CST: &st.DocTypesCST{
List: &st.DocTypesListCST{
Name: "foo", Separator: ",",
Next: &st.DocTypesListCST{Name: "bar"},
},
}}, Expr: &st.QueryExpr{Logical: &st.ExprLogical{Or: &st.ExprLogicalOr{
Left: st.QueryExpr{Default: &st.ExprDefault{Terms: "not implemented"}},
Right: st.QueryExpr{Default: &st.ExprDefault{Terms: "not implemented"}},
}}}},
nil,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment