~eliasnaur/gio-example

9373e1c8c1394ca43e82e6b445f86647150d2ccc — Elias Naur 2 months ago 41edb25
all: update gio, go fmt for go:build constraints, go mod tidy

Signed-off-by: Elias Naur <mail@eliasnaur.com>
6 files changed, 11 insertions(+), 6 deletions(-)

M glfw/main.go
M go.mod
M go.sum
M opengl/main.go
M x/haptic/example_nonandroid.go
M x/notify/build_macos.go
M glfw/main.go => glfw/main.go +1 -0
@@ 1,6 1,7 @@
// SPDX-License-Identifier: Unlicense OR MIT

// GLFW doesn't build on OpenBSD and FreeBSD.
//go:build !openbsd && !freebsd && !android && !ios && !js
// +build !openbsd,!freebsd,!android,!ios,!js

// The glfw example demonstrates integration of Gio into a foreign

M go.mod => go.mod +1 -1
@@ 3,7 3,7 @@ module gioui.org/example
go 1.16

require (
	gioui.org v0.0.0-20210816162232-c7ea90c4e213
	gioui.org v0.0.0-20210819082505-f47508729638
	gioui.org/x v0.0.0-20210804152830-6815ab60d717
	gioui.org/x/haptic v0.0.0-20210120222453-b55819bc712b
	gioui.org/x/notify v0.0.0-20210120222453-b55819bc712b

M go.sum => go.sum +4 -3
@@ 34,11 34,12 @@ dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7
dmitri.shuralyov.com/gpu/mtl v0.0.0-20201218220906-28db891af037/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
gioui.org v0.0.0-20210116085804-99bfa6a33cdf/go.mod h1:Y+uS7hHMvku1Q+ooaoq6fYD5B2LGoT8JtFgvmYmRzTw=
gioui.org v0.0.0-20210729070555-8cec7e04eb71/go.mod h1:N4QK6T0gTQc7ogB7rniAyYQb8/klqI6hQkqV+HAh5Mw=
gioui.org v0.0.0-20210816162232-c7ea90c4e213 h1:03HXLQj+ojkqxJgzfqUgUQ443CYZj+oNCdPHiTrsO/E=
gioui.org v0.0.0-20210816162232-c7ea90c4e213/go.mod h1:9eROMr3ULdKcO1qCQTTbs9ZSuzCBQdyD6SIVFaM4z14=
gioui.org v0.0.0-20210819082505-f47508729638 h1:wW8cc1JggLtUymP/YACzeJ7HQQJ1wsxG/qgwXkoXASQ=
gioui.org v0.0.0-20210819082505-f47508729638/go.mod h1:oAzz1wTEkhKul+8Qo649OmmOVOGo3jQd+l1KdeUWVLk=
gioui.org/cpu v0.0.0-20210727122813-41509bcd3462/go.mod h1:DkhBDuHokSMOUxX5LZQ7IcxyJJzs3OON8Z5ojaXUXxo=
gioui.org/cpu v0.0.0-20210808092351-bfe733dd3334 h1:1xK224B5DnjlPKCfVDTl7+olrzgAXn4ym6dum3l34rs=
gioui.org/cpu v0.0.0-20210808092351-bfe733dd3334/go.mod h1:A8M0Cn5o+vY5LTMlnRoK3O5kG+rH0kWfJjeKd9QpBmQ=
gioui.org/cpu v0.0.0-20210817075930-8d6a761490d2 h1:AGDDxsJE1RpcXTAxPG2B4jrwVUJGFDjINIPi1jtO6pc=
gioui.org/cpu v0.0.0-20210817075930-8d6a761490d2/go.mod h1:A8M0Cn5o+vY5LTMlnRoK3O5kG+rH0kWfJjeKd9QpBmQ=
gioui.org/shader v0.0.0-20210816161847-c12352edbd45 h1:tWCgnOK33iYKNvQ4ctNHBknZ6r273Na82wcTOFc29ZM=
gioui.org/shader v0.0.0-20210816161847-c12352edbd45/go.mod h1:mWdiME581d/kV7/iEhLmUgUK5iZ09XR5XpduXzbePVM=
gioui.org/x v0.0.0-20210804152830-6815ab60d717 h1:iRI8QLSxwEkJJI+WdpMvUYNP3wavU5GVkijmmFzjLdo=

M opengl/main.go => opengl/main.go +1 -0
@@ 1,5 1,6 @@
// SPDX-License-Identifier: Unlicense OR MIT

//go:build darwin || windows
// +build darwin windows

package main

M x/haptic/example_nonandroid.go => x/haptic/example_nonandroid.go +2 -1
@@ 1,4 1,5 @@
//+build !android
//go:build !android
// +build !android

package main


M x/notify/build_macos.go => x/notify/build_macos.go +2 -1
@@ 1,4 1,5 @@
//+build darwin
//go:build darwin
// +build darwin

//go:generate mkdir -p example.app/Contents/MacOS
//go:generate go build -o example.app/Contents/MacOS/example