reconcilerio / dies

immutable, fluent, builders for Kubernetes resources
Apache License 2.0
8 stars 4 forks source link

Allow pointer values with DieStampAt callback #107

Closed scothis closed 1 year ago

scothis commented 1 year ago

The callback function can accept an argument of a compatible type, or a pointer to that type. Using the pointer type is useful to be able to in-place replace a value, or mutate a struct in a slice.

codecov[bot] commented 1 year ago

Codecov Report

Merging #107 (b37131e) into main (14089ff) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #107   +/-   ##
=======================================
  Coverage   10.31%   10.31%           
=======================================
  Files          64       64           
  Lines        3152     3152           
=======================================
  Hits          325      325           
  Misses       2824     2824           
  Partials        3        3