github.com/iotexproject/iotex-core@v1.14.1-rc1/pkg/version/version.go (about)

     1  // Copyright (c) 2019 IoTeX Foundation
     2  // This source code is provided 'as is' and no warranties are given as to title or non-infringement, merchantability
     3  // or fitness for purpose and, to the extent permitted by law, all liability for your use of the code is disclaimed.
     4  // This source code is governed by Apache License 2.0 that can be found in the LICENSE file.
     5  
     6  package version
     7  
     8  const (
     9  	// ProtocolVersion defines Protocol version, starting from 1
    10  	ProtocolVersion = 0x01
    11  )
    12  
    13  var (
    14  	// PackageVersion gets version of code from git tag
    15  	PackageVersion = "NoBuildInfo"
    16  	// PackageCommitID gets latest commit id of code from git
    17  	PackageCommitID = "NoBuildInfo"
    18  	// GitStatus gets git tree status from git
    19  	GitStatus = "NoBuildInfo"
    20  	// GoVersion gets go version of package
    21  	GoVersion = "NoBuildInfo"
    22  	// BuildTime gets building time
    23  	BuildTime = "NoBuildInfo"
    24  )