使用Go测试HTTP / 2

I would like to check if the server supports HTTP2 using Go.

Trying to implement a code in Go checking the HTTPS Web server in a similar way than the following command:

> openssl s_client -connect google.com:443 -nextprotoneg ''
CONNECTED(00000003)
Protocols advertised by server: grpc-exp, h2, http/1.1

Please point me to the right direction to a code example or documentation.