From dde7961b7d6869e5d1bd1d9a6d3725034e2f0c73 Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Sun, 31 Mar 2019 14:08:41 +0200 Subject: [PATCH] README.md: add instructions to run the hello world program Signed-off-by: Elias Naur --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d28e3a1d..1b8082f9 100644 --- a/README.md +++ b/README.md @@ -21,10 +21,18 @@ For Windows you need the ANGLE drivers for emulating OpenGL ES. You can build AN With Go 1.12 or newer, $ export GO111MODULE=on + $ go run gioui.org/apps/hello + +should display a simple message in a window. + +The command + $ go run gioui.org/apps/gophers -should display a simple (nonsense) demo that displays Go contributors fetched from GitHub. If you run -into quota issues, supply a [Github token](https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line) +should display a simple (nonsense) demo that displays Go contributors fetched from GitHub. + +If you run into quota issues, supply a +[Github token](https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line) with the `-token`flag: $ go run gioui.org/apps/gophers -token