I am using this package to get correlation coefficient : https://godoc.org/gonum.org/v1/gonum/stat#Correlation
It works well but it does not give P value of the correlation. Other functions in this package are given above on the same page: https://godoc.org/gonum.org/v1/gonum/stat
Similarly, this package also has correlation function which returns coefficient but not P value.
How can I find P value of correlation coefficient in any of these situations? Thanks for your help.