env icon indicating copy to clipboard operation
env copied to clipboard

add initIfSet option

Open sethpollack opened this issue 1 year ago • 2 comments

adds the initValue option, which conditionally initializes pointers to structs only when there is a value to set.

sethpollack avatar Oct 02 '24 17:10 sethpollack

i'm cool with the feature, but the flag name is rather confusing I think...

maybe something like initIfSet or something else?

caarlos0 avatar Oct 08 '24 17:10 caarlos0

Ok will update.

sethpollack avatar Oct 08 '24 18:10 sethpollack