diff --git a/version.go b/version.go index 996abc9..0ff0efe 100644 --- a/version.go +++ b/version.go @@ -23,8 +23,9 @@ func init() { if dep.Path == packagePath { if dep.Replace != nil { Version = dep.Replace.Version + } else { + Version = dep.Version } - Version = dep.Version break } }