Discover Packages
github.com/daforester/goleo
runtime
share
package
Version:
v0.4.1
Opens a new window with list of versions in this module.
Published: Jul 31, 2026
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
Provider is a native share backend. On mobile the shell registers one via
SetProvider (Android Intent.ACTION_SEND / iOS UIActivityViewController); on
desktop the built-in platform implementation is used when no provider is set.
type ShareData struct {
Title string `json:"title"`
Text string `json:"text"`
URL string `json:"url"`
}
ShareData is the payload for the native share sheet. All fields are optional;
at least one of Text or URL is normally set. Mirrors the Web Share API.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.