Documentation
¶
Overview ¶
Command hello is the smallest app worth packaging: it greets the name typed into it and counts its greetings, in English and Chinese, and its App Clip (clip) greets the name a link gives. Build it for every target to try the packages and installers (go tool nsgo build examples/hello); mini programs do not take it, as its module is past their 2 MB, and examples/gallery-miniprogram is the app for them.
Directories
¶
| Path | Synopsis |
|---|---|
|
Command clip is the hello example's App Clip: a link such as https://hello.example.com/?name=Ada opens it, and it greets the name the link gives, in the app's languages.
|
Command clip is the hello example's App Clip: a link such as https://hello.example.com/?name=Ada opens it, and it greets the name the link gives, in the app's languages. |
|
Package locales says the hello example's messages in the language it shows.
|
Package locales says the hello example's messages in the language it shows. |