type Checksum … // Verify verifies that passed checksum is same as calculated checksum func (cs Checksum) Verify(data interface{ … } // New returns the Checksum of checkpoint data func New(data interface{ … } // Get returns calculated checksum of checkpoint data func getChecksum(data interface{ … }