This PR aims to fix #13, adjusting the control flow to avoid the config initialization-related panic.
Additionally, I also noticed the non-standard github.com/pkg/errors packages was being used, but we can use the standard library's errors package. My editor (using gopls) changed the import structure.
This PR aims to fix #13, adjusting the control flow to avoid the config initialization-related panic.
Additionally, I also noticed the non-standard
github.com/pkg/errors
packages was being used, but we can use the standard library'serrors
package. My editor (usinggopls
) changed the import structure.