ilyakaznacheev / cleanenv

✨Clean and minimalistic environment configuration reader for Golang
MIT License
1.67k stars 116 forks source link

FIX: Handle pointers #111

Open julian-burger-ttd opened 1 year ago

julian-burger-ttd commented 1 year ago

Simple change to allow defaults for scalar pointer types: allocate the scalar and assign the value.

julian-burger-ttd commented 1 year ago

@ilyakaznacheev Please review and comment. Thanks!