Skip to content

Commit

Permalink
Merge pull request fyne-io#4330 from Jacalz/go1.19
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacalz authored Dec 26, 2023
2 parents d0b6d2d + 85cd02f commit 3365e7f
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 55 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/mobile_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: ['1.17.x', '1.21.x']
go-version: ['1.19.x', '1.21.x']

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/platform_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: ['1.17.x', '1.21.x']
go-version: ['1.19.x', '1.21.x']
os: [ubuntu-latest, windows-latest, macos-latest]
include:
- os: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/web_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ jobs:
run: |
go install github.com/gopherjs/gopherjs@latest
go install ./cmd/fyne
cd cmd/fyne_demo && fyne package --target=web
cd cmd/fyne_demo && fyne package --target=web
16 changes: 8 additions & 8 deletions data/binding/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -1052,14 +1052,14 @@ import (
list := template.Must(template.New("list").Parse(listBindTemplate))
tree := template.Must(template.New("tree").Parse(treeBindTemplate))
binds := []bindValues{
bindValues{Name: "Bool", Type: "bool", Default: "false", Format: "%t", SupportsPreferences: true},
bindValues{Name: "Bytes", Type: "[]byte", Default: "nil", Since: "2.2", Comparator: "bytes.Equal"},
bindValues{Name: "Float", Type: "float64", Default: "0.0", Format: "%f", SupportsPreferences: true},
bindValues{Name: "Int", Type: "int", Default: "0", Format: "%d", SupportsPreferences: true},
bindValues{Name: "Rune", Type: "rune", Default: "rune(0)"},
bindValues{Name: "String", Type: "string", Default: "\"\"", SupportsPreferences: true},
bindValues{Name: "Untyped", Type: "interface{}", Default: "nil", Since: "2.1"},
bindValues{Name: "URI", Type: "fyne.URI", Default: "fyne.URI(nil)", Since: "2.1",
{Name: "Bool", Type: "bool", Default: "false", Format: "%t", SupportsPreferences: true},
{Name: "Bytes", Type: "[]byte", Default: "nil", Since: "2.2", Comparator: "bytes.Equal"},
{Name: "Float", Type: "float64", Default: "0.0", Format: "%f", SupportsPreferences: true},
{Name: "Int", Type: "int", Default: "0", Format: "%d", SupportsPreferences: true},
{Name: "Rune", Type: "rune", Default: "rune(0)"},
{Name: "String", Type: "string", Default: "\"\"", SupportsPreferences: true},
{Name: "Untyped", Type: "interface{}", Default: "nil", Since: "2.1"},
{Name: "URI", Type: "fyne.URI", Default: "fyne.URI(nil)", Since: "2.1",
FromString: "uriFromString", ToString: "uriToString", Comparator: "compareURI"},
}
for _, b := range binds {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module fyne.io/fyne/v2

go 1.17
go 1.19

require (
fyne.io/systray v1.10.1-0.20231115130155-104f5ef7839e
Expand Down
Loading

0 comments on commit 3365e7f

Please sign in to comment.