Its my first golang project and i need code review please
https://github.com/SzymonG110/stripe-golang
#Code Review
9 messages · Page 1 of 1 (latest)
did you create it all by yoursefl ?
https://github.com/SzymonG110/stripe-golang/blob/master/utils.go I would drop this function completely and just test if the STRIPE_DISCORD_WEBHOOK env variable exists. If it does, just assume its the webhook url. If a user doesn't want the webhook url, they shouldn't be setting it to false
yes
ok, but i create that universally so i stay with check that 3 variables
my first go project
where else are you using it? I only saw it used on the discord webhook
yes, that true, only with discord webhook but when i writing something im trying to do it universally