fix golint issues, update codecov settings. (#1011)

* update codecov settings

* fix golint issues
This commit is contained in:
Kevin Wan
2021-09-07 22:33:02 +08:00
committed by GitHub
parent 861dcf2f36
commit 56807aabf6
3 changed files with 7 additions and 2 deletions

View File

@@ -12,6 +12,7 @@ var errorFormat = `goctl: generation error: %+v
goctl version: %s
%s`
// GoctlError represents a goctl error.
type GoctlError struct {
message []string
err error

View File

@@ -5,7 +5,8 @@ import (
"strings"
)
const BuildVersion = "1.1.11-beta-2"
// BuildVersion is the version of goctl.
const BuildVersion = "1.2.0"
// GetGoctlVersion returns BuildVersion
func GetGoctlVersion() string {