You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: block.go
    path of file: ./repos/Rust-Full-Stack/blockchain/golang/part1
    
    the code of the file until where you have to start completion: package main

import (
	"bytes"
	"cryp
    
func (b *Block) SetHash() { // method
	timestamp := []byte(strconv.FormatInt(b.Timestamp, 10)) // byte slice
	headers := bytes.Join([][]byte{b.PrevBlockHash, b.Data, timestamp}, []byte{}) // Join byte slices with empty byte slice("")
	hash := sha256.Sum256(headers) // search Sum256

	b.Hash = hash[:] // copy the hash?
}