See the example under ./cmd/shamir-example/main.go
.
go build -v ./cmd/shamir-example/...
./shamir-example
Output:
[91 188 226 91 254 197 225]
Get trezor-firmware
source code:
git submodule update --init --recursive
go build -v ./...
go test -v ./...