Conventions used
There are a number of text conventions used throughout this book.
Code in text
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: “Using method-based updates, SetText()
and SetIcon()
calls will refresh the widget, possibly triggering the preceding issue.”
A block of code is set as follows:
const ( serverKeyDevelopment = "DEVELOPMENT_KEY" serverKeyProduction = "PRODUCTION_KEY" )
Any command-line input or output is written as follows:
$ fyne release -appVersion 1.0 -appBuild 1 -certificate "CertificateName" -profile "ProfileName"
When a command relates to files or data within the GitHub repository (linked above and at the top of each chapter), the command prompt will start with the directory name, as follows:
Chapter03/window$ go run main.go
Bold: Indicates a new term, an important word, or words that you see on screen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: “You can also find the Settings panel in the Settings menu within fyne_demo.”
Tips or important notes
Appear like this.