mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-02 23:39:21 +08:00

- Update out of sync go.mod with minimum go version - Check for minimum go version during build with build constraint “internal/goversion/build_constraint.go:9:2: MinGoVersionRequired (constant "You need Go 1.18 or newer to compile this program" of type string) is not used”
11 lines
195 B
Go
11 lines
195 B
Go
//go:build !go1.18
|
|
// +build !go1.18
|
|
|
|
package goversion
|
|
|
|
const MinGoVersionRequired = "You need Go " + MinRequirement + " or newer to compile this program"
|
|
|
|
func init() {
|
|
MinGoVersionRequired
|
|
}
|