Make placeholder constant

This commit is contained in:
Paul van Brouwershaven
2022-07-04 17:11:41 +02:00
parent b2486f9aa7
commit 5d4de61c21

View File

@@ -15,7 +15,7 @@ import (
"github.com/digitorus/timestamp"
)
var signatureByteRangePlaceholder = "/ByteRange[0 ********** ********** **********]"
const signatureByteRangePlaceholder = "/ByteRange[0 ********** ********** **********]"
func (context *SignContext) createSignaturePlaceholder() (dssd string, byte_range_start_byte int64, signature_contents_start_byte int64) {
// Using a buffer because it's way faster than concatenating.