Because of the strange handling that public & internal are true by default, I need to use a pointer to be able to set the value to false if needed.
Currently its not possible to hide internal comments, and adding more parameters i something agains the Go styleguide.
So i replaced the parameters with an options struct, which parses the properties and create query parameters out of it.
This would be a good attempt to use for other structs as well.
Because of the strange handling that
public
&internal
aretrue
by default, I need to use a pointer to be able to set the value tofalse
if needed.Currently its not possible to hide internal comments, and adding more parameters i something agains the Go styleguide. So i replaced the parameters with an options struct, which parses the properties and create query parameters out of it. This would be a good attempt to use for other structs as well.