Hi! Many years ago I've implemented something similar in Perl, which was later released as https://metacpan.org/pod/DBIx::SecureCGI. Nowadays I suppose best way to do something like this is using GraphQL (for ex. https://github.com/graphql-go/graphql).
-- WBR, Alex. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.