Skip to content

Commit 8443f53

Browse files
committed
Make the claims spec string a constant
Signed-off-by: Carolyn Van Slyck <me@carolynvanslyck.com>
1 parent fdc0505 commit 8443f53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

claim/claim.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
// CNABSpecVersion represents the CNAB Spec version of the Claim
1919
// that this library implements
2020
// This value is prefixed with e.g. `cnab-claim-` so isn't itself valid semver.
21-
var CNABSpecVersion string = "cnab-claim-1.0.0-DRAFT+b5ed2f3"
21+
const CNABSpecVersion string = "cnab-claim-1.0.0-DRAFT+b5ed2f3"
2222

2323
// Status constants define the CNAB status fields on a Result.
2424
const (

0 commit comments

Comments
 (0)