Skip to content

Commit 2982fcc

Browse files
authored
Merge pull request #264 from carolynvs/cnab-schema-constant
Make the claims spec string a constant
2 parents 0b6d46d + 8443f53 commit 2982fcc

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)