First off, my apologies if this is not the place to seek help on this issue. I search golang autocert help & letsencrypt help is top of search results.
I have spent days searching for how configure the golang autocert ACME client to use the Letsencrypt staging environment, even if it is at possible given the sparseness of content if any on this subject.
I have read the docs at [https://pkg.go.dev/golang.org/x/crypto/acme/autocert?tab=doc] and can find no reference on how to override the constant DefaultACMEDirectory so that autocert will use the staging environment, or even if this is possible.
I am using golang http module as my web server.
The operating system my web server runs on is (include version):Centos 7
My hosting provider, if applicable, is: DigitalOcean
I can login to a root shell on my machine
Regards in advance of any help/suggestions.