Re:Nine years of Go
by rpeden on Saturday November 10, 2018 @05:20PM
(#18423841)
Maybe store a hash of the values in the struct and check against that too see if anything has changed? If you're doing lots of dirty checks, that might be too resource intensive, though.
Or just use getters and setters and if anyone calls you stupid, ask them to demonstrate a better solution that still solves your problem.
Or just use getters and setters and if anyone calls you stupid, ask them to demonstrate a better solution that still solves your problem.