Imports github.com/go-sql-driver/mysql github.com/golang/protobuf/proto github.com/golang/protobuf/ptypes github.com/golang/protobuf/ptypes/timestamp Standard library imports bytes crypto/sha256 database/sql database/sql/driver encoding/json errors fmt io math math/rand strconv strings time