01_helloworld

command
v0.0.0-...-7a25a1a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2025 License: MIT Imports: 2 Imported by: 0

README

Based on: 
  https://www.youtube.com/watch?v=-v1vz_NcWng
  https://www.youtube.com/watch?v=kQ3-jfEQqho

Not mentioned in videos... needed to run:

  % go mod init helloworld
  % go mod tidy

Then, to package:

  % go get fyne.io/fyne/cmd/fyne

Hmmm... doesn't work with Go version 1.17
And couldn't get it to work with 1.16 either...

This seemed to finally work (with 1.16):

  % go get fyne.io/fyne/v2/cmd/fyne

It puts a "fyne" executable in: ~/go/bin

Then I was able to package it with:

  % ~/go/bin/fyne package -icon helloworld.png

Nice! It creates a helloworld.app package that I can click and run :)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳