Closed dhorsley closed 2 years ago
not done yet. operators will stay the same as for arrays.
have to review for suitability before committing to doing this work as it could be a pain in the arse without generics.
I.e. may have to wait until newer Go versions have stabilised generics functionality and we do a sweep through all of the code for appropriate use cases.
still waiting on go 1.18 in the new year before reviewing this issue further.
modified map and filter to work with dirent structs. no other use cases found yet. reviewed generics adoption post go 1.18 and doesn't look like there is much improvement to be had. will close this issue in the near future unless other type requirements arise.
will raise further tickets for this if it needs new types adding. closing for now.
As in subject, decide on syntax and update to permit struct use in similar vein to other types in array and map operations.
Should also review overall use at this point.