Make default dev semver a const (#891)

## Changes
<!-- Summary of your changes that are easy to understand -->

## Tests
<!-- How is this tested? -->
This commit is contained in:
shreyas-goenka 2023-10-19 20:56:54 +02:00 committed by GitHub
parent 4ad68eb314
commit 5712845329
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ var info Info
var once sync.Once
var DefaultSemver = "0.0.0-dev"
const DefaultSemver = "0.0.0-dev"
// getDefaultBuildVersion uses build information stored by Go itself
// to synthesize a build version if one wasn't set.