Skip to content

Commit

Permalink
Remove example Fyne application
Browse files Browse the repository at this point in the history
- Remove example application that causing is dependency management headaches
- Remove remaining references to getlocale-gui for consistency
  • Loading branch information
sdassow authored Dec 17, 2024
1 parent 32dda1c commit fcc2cad
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 841 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
examples/getlocale/getlocale
examples/getlocale/getlocale.exe
examples/getlocale-gui/getlocale-gui
examples/getlocale-gui/getlocale-gui.exe

### Go ###
# Binaries for programs and plugins
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,6 @@ func main() {
}
```

For a complete example, see [here](examples/getlocale-gui/main.go).

## GetLocale

`GetLocale` returns the current locale as defined in [IETF BCP 47](https://tools.ietf.org/rfc/bcp/bcp47.txt) (e.g. `"en-US"`).
Expand Down
31 changes: 0 additions & 31 deletions examples/getlocale-gui/README.md

This file was deleted.

19 changes: 0 additions & 19 deletions examples/getlocale-gui/android.go

This file was deleted.

Binary file removed examples/getlocale-gui/icon.png
Binary file not shown.
121 changes: 0 additions & 121 deletions examples/getlocale-gui/main.go

This file was deleted.

24 changes: 0 additions & 24 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,36 +3,12 @@ module github.com/jeandeaual/go-locale
go 1.18

require (
fyne.io/fyne/v2 v2.5.2
github.com/nicksnyder/go-i18n/v2 v2.4.1
github.com/stretchr/testify v1.10.0
golang.org/x/sys v0.27.0
golang.org/x/text v0.20.0
)

require (
fyne.io/systray v1.11.0 // indirect
github.com/BurntSushi/toml v1.4.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/fredbi/uri v1.1.0 // indirect
github.com/fsnotify/fsnotify v1.8.0 // indirect
github.com/fyne-io/gl-js v0.0.0-20230506162202-1fdaa286a934 // indirect
github.com/fyne-io/glfw-js v0.0.0-20241126112943-313d8a0fe1d0 // indirect
github.com/fyne-io/image v0.0.0-20240417123036-dc0ee9e7c964 // indirect
github.com/go-gl/gl v0.0.0-20231021071112-07e5d0ea2e71 // indirect
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20240506104042-037f3cc74f2a // indirect
github.com/go-text/render v0.2.0 // indirect
github.com/go-text/typesetting v0.2.0 // indirect
github.com/godbus/dbus/v5 v5.1.0 // indirect
github.com/gopherjs/gopherjs v1.17.2 // indirect
github.com/jsummers/gobmp v0.0.0-20230614200233-a9de23ed2e25 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/rymdport/portal v0.3.0 // indirect
github.com/srwiley/oksvg v0.0.0-20221011165216-be6e8873101c // indirect
github.com/srwiley/rasterx v0.0.0-20220730225603-2ab79fcdd4ef // indirect
github.com/yuin/goldmark v1.7.8 // indirect
golang.org/x/image v0.22.0 // indirect
golang.org/x/mobile v0.0.0-20241108191957-fa514ef75a0f // indirect
golang.org/x/net v0.31.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading

0 comments on commit fcc2cad

Please sign in to comment.