mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 01:45:36 +00:00
app: drop Go 1.12 support
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
// SPDX-License-Identifier: Unlicense OR MIT
|
// SPDX-License-Identifier: Unlicense OR MIT
|
||||||
|
|
||||||
// +build !android,go1.13
|
// +build !android
|
||||||
|
|
||||||
package app
|
package app
|
||||||
|
|
||||||
|
|||||||
@@ -1,12 +0,0 @@
|
|||||||
// SPDX-License-Identifier: Unlicense OR MIT
|
|
||||||
|
|
||||||
// +build !android,!go1.13
|
|
||||||
|
|
||||||
package app
|
|
||||||
|
|
||||||
import "os"
|
|
||||||
|
|
||||||
func dataDir() (string, error) {
|
|
||||||
// Use a quick workaround until we can require go 1.13.
|
|
||||||
return os.UserHomeDir()
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user