AnnainTowards DevEffortlessly update all struct values in GoSanitizing input, trimming spaces, adding a prefix — there are many cases when you would manually go over the struct values and adapt them…Aug 12, 2023Aug 12, 2023
AnnaSpeed up your GET requests with a cache Echo middlewareHeavy logic causes long request processing time? How about using a seamless middleware that caches the response for you.Aug 3, 2023Aug 3, 2023
AnnaImplementing a Sawtooth event listener in RustEvents are used to track blockchain changes and fire custom actions on specific event types (e.g. when a new batch is committed).Apr 26, 2023Apr 26, 2023
AnnaCall an interface on each field of a struct in GoA struct with many fields implementing the same interface. Using reflection, how to easily call the same method on each of them?Mar 15, 20231Mar 15, 20231
AnnaMerge conflict just on a space. How does it happen?It turns out that it’s very simple to avoid that and save some time on merging. Too busy to read the git docs? Try this article.Feb 11, 2023Feb 11, 2023
AnnaChange Azure AD guest user email address using REST …easierUntil very recently the only way to do it was to recreate the guest account (and then to configure it and grant all the permissions again)…Jan 6, 20231Jan 6, 20231
AnnaFast check if all struct fields are set in golangChecking struct fields one by one to validate the value is a tedious and an error prone process. Do it easier using go reflect package.Nov 19, 20221Nov 19, 20221
AnnaHow to read/write Azure AD B2C custom user attributes?I couldn’t find any complete guideline focusing on Azure AD B2C custom user attributes, so here I come with my own. I will be using Golang…Jul 4, 20222Jul 4, 20222
AnnaHow to read sawtooth blockchain settings in python?The settings are stored on Hyperledger Sawtooth blockchain and read using both REST API and the transaction context.Jun 4, 2022Jun 4, 2022