package gopkg.in/yaml.v2: unrecognized import path "gopkg.in/yaml.v2": https fet ch: Get "https://gopkg.in/yaml.v2?go-get=1": x509: certificate has expired or is not yet valid:

Comment From: Anthony-Bible

We ran into this using a really old operating system or an unupdated one because it doesn't or hasn't removed the expired let's encrypt root certificates. https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/

Have you verified your operating system is updated and/or has the proper certificates?

Comment From: ghost

i solved this issue by downloading github yaml code and copy it to the go root path