The posture query data model in the go code is wasteful. posture checks should have been put into a map and referenced, instead each service creates a new PostureCheck struct. It would probably be more memory efficient more "correct" if the Identity had an array of PostureCheck and if the services referred to those posture checks.
The posture query data model in the go code is wasteful. posture checks should have been put into a map and referenced, instead each service creates a new PostureCheck struct. It would probably be more memory efficient more "correct" if the Identity had an array of PostureCheck and if the services referred to those posture checks.