You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This could be fixed if we defined it as a value type instead of a pointer. If we use url.URL, it is initialized with its zero value and prevents nil pointer dereference, but if we use a pointer type *url.URL we have to explicitly allocate otherwise it remains nil causing this error.
It appears that when parsing a URL from the environment, serpent does not dereference it properly when embedded in a struct:
Sample Go program to reproduce: https://go.dev/play/p/K9uNgbvGM0J
The text was updated successfully, but these errors were encountered: