Package shamir implements the secret sharing scheme based on the Adi Shamir's paper How to share a secret, Communications of the ACM, 22:612-613, 1979.
Install and update this go package with go get -u github.com/insecurebits/shamir
For examples of what can be done take a look at examples directory.
You can try a basic example by running: go run examples/secret.go