Help us shape the future of Go! Take the 2026 Go Developer Survey

iosapp

package
v0.40.21 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package iosapp is the link to Rivolt's iPhone app: one setting, RIVOLT_IOS_APP_URL, that every surface (the Settings row, the share card, the store banner, /app, the welcome and statement emails) reads. Empty, or anything but a plain App Store or TestFlight link, means the app is not promoted anywhere.

Index

Constants

View Source
const EnvURL = "RIVOLT_IOS_APP_URL"

EnvURL is the setting.

View Source
const Line = "Rivolt is also an iPhone app: "

Line is the one plain sentence the emails carry; the link follows it.

Variables

This section is empty.

Functions

func AppStoreID

func AppStoreID(link string) string

AppStoreID is the numeric app id of an apps.apple.com link ("" for TestFlight or anything else), for the Smart App Banner.

func Clean

func Clean(raw string) string

Clean validates a link as URL does.

func URL

func URL() string

URL is the configured link, or "" when unset or not acceptable. Acceptable: https, host apps.apple.com or testflight.apple.com, no query, fragment or credentials (a link with tracking parameters or Apple tokens in the query is refused, and so is any other host, which also keeps /app from being an open redirect).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL