Created
January 1, 2021 21:18
-
-
Save slimsag/b1db8aed21dd3d49460e3f34908cdb5c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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