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: helpers.go
    path of file: ./repos/sliver/server/db
    
    the code of the file until where you have to start completion: package db

/*
	Sliver Implant Framework
	Copyright (C) 2020  Bishop Fox

	This program is free software: you can redistribute it and/or modify
	it under the terms of the GN
    
func ImplantBuildByPublicKeyDigest(publicKeyDigest [32]byte) (*clientpb.ImplantBuild, error) {
	build := models.ImplantBuild{}
	err := Session().Where(&models.ImplantBuild{
		PeerPublicKeyDigest: hex.EncodeToString(publicKeyDigest[:]),
	}).First(&build).Error
	if err != nil {
		return nil, err
	}
	return build.ToProtobuf(), err
}