6deb8f007d0e37e9a53130539b4c8ef383c037fd — Elias Naur 3 months ago 2bcac7d
ui/widget: add package documentation

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

M ui/widget/image.go
M ui/widget/image.go => ui/widget/image.go +2 -0
@@ 1,5 1,6 @@
 // SPDX-License-Identifier: Unlicense OR MIT
 
+// Package widget implements common widgets.
 package widget
 
 import (


@@ 11,6 12,7 @@
 	"gioui.org/ui/paint"
 )
 
+// Image is a widget that displays an image.
 type Image struct {
 	// Src is the image to display.
 	Src image.Image