https://godoc.org/github.com/kirari04/go-hcaptcha
This package handles hCaptcha.
Install the package in your environment:
go get github.com/kirari04/go-hcaptcha
To use it within your own code, import github.com/kirari04/go-hcaptcha and call:
recaptcha.Init (recaptchaPrivateKey)
once, to set the hCaptcha private key for your domain, then:
recaptcha.Confirm (clientIpAddress, recaptchaResponse)