mirror of
https://github.com/docker/docker-agent.git
synced 2026-11-04 10:02:15 +00:00
10 lines
282 B
Go
10 lines
282 B
Go
package selfupdate
|
|
|
|
import "github.com/docker/docker-agent/pkg/version"
|
|
|
|
// currentVersion returns the compiled-in release version. Wrapped so the rest
|
|
// of the package depends only on a string and stays trivially testable.
|
|
func currentVersion() string {
|
|
return version.Version
|
|
}
|