diff --git a/cmd/semver.go b/cmd/semver.go index f0046a658..277e3b5af 100644 --- a/cmd/semver.go +++ b/cmd/semver.go @@ -8,7 +8,7 @@ import ( // SemanticVersion is a struct containing a semantic version type SemanticVersion struct { - Version semver.Version + Version *semver.Version } // NewSemanticVersion creates a new SemanticVersion object with the given version string diff --git a/go.mod b/go.mod index aea1680bd..840e155b9 100644 --- a/go.mod +++ b/go.mod @@ -1,7 +1,7 @@ module github.com/wailsapp/wails require ( - github.com/Masterminds/semver v1.4.2 // indirect + github.com/Masterminds/semver v1.4.2 github.com/dchest/cssmin v0.0.0-20151210170030-fb8d9b44afdc // indirect github.com/dchest/htmlmin v0.0.0-20150526090704-e254725e81ac github.com/dchest/jsmin v0.0.0-20160823214000-faeced883947 // indirect @@ -14,7 +14,6 @@ require ( github.com/leaanthony/mewn v0.10.7 github.com/leaanthony/slicer v1.3.2 github.com/leaanthony/spinner v0.5.3 - github.com/masterminds/semver v1.4.2 github.com/mattn/go-colorable v0.1.1 // indirect github.com/mattn/go-isatty v0.0.7 // indirect github.com/mitchellh/go-homedir v1.1.0 diff --git a/go.sum b/go.sum index e00144b96..7bc5b40a7 100644 --- a/go.sum +++ b/go.sum @@ -41,8 +41,6 @@ github.com/leaanthony/synx v0.1.0 h1:R0lmg2w6VMb8XcotOwAe5DLyzwjLrskNkwU7LLWsyL8 github.com/leaanthony/synx v0.1.0/go.mod h1:Iz7eybeeG8bdq640iR+CwYb8p+9EOsgMWghkSRyZcqs= github.com/leaanthony/wincursor v0.1.0 h1:Dsyp68QcF5cCs65AMBmxoYNEm0n8K7mMchG6a8fYxf8= github.com/leaanthony/wincursor v0.1.0/go.mod h1:7TVwwrzSH/2Y9gLOGH+VhA+bZhoWXBRgbGNTMk+yimE= -github.com/masterminds/semver v1.4.2 h1:BgrAYDjlAebjtOwS7C/1QZoh5WgyXx4b59ydc+Ph8xI= -github.com/masterminds/semver v1.4.2/go.mod h1:s7KNT9fnd7edGzwwP7RBX4H0v/CYd5qdOLfkL1V75yg= github.com/mattn/go-colorable v0.0.9 h1:UVL0vNpWh04HeJXV0KLcaT7r06gOH2l4OW6ddYRUIY4= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= github.com/mattn/go-colorable v0.1.1 h1:G1f5SKeVxmagw/IyvzvtZE4Gybcc4Tr1tf7I8z0XgOg=