- Security with Go
- John Daniel Leon
- 257字
- 2021-06-30 19:06:37
Conventions used
There are a number of text conventions used throughout this book.
CodeInText: 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: " The make() function will create a slice of a certain type with a certain length and capacity."
A block of code is set as follows:
package main
import (
"fmt"
)
func main() {
// Basic for loop
for i := 0; i < 3; i++ {
fmt.Println("i:", i)
}
// For used as a while loop
n := 5
for n < 10 {
fmt.Println(n)
n++
}
}
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
package main
import (
"fmt"
)
func main() {
// Basic for loop
for i := 0; i < 3; i++ {
fmt.Println("i:", i)
}
// For used as a while loop
n := 5
for n < 10 {
fmt.Println(n)
n++
}
}
Any command-line input or output is written as follows:
sudo apt-get install golang-go
Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: " In Windows 10, this can be found by navigating to Control Panel | System |
Advanced System Settings | Environment Variables."
- 432級臺階之第2級臺階
- 卓越的課件如何做(數(shù)學(xué)篇)
- 感官的盛宴:數(shù)學(xué)之眼看藝術(shù)(萬物皆數(shù)學(xué))
- 神奇的數(shù)學(xué)(二)
- 數(shù)學(xué)可以很有趣:科學(xué)新悅讀文叢(套裝全5冊)
- 模式識別與人工智能(基于MATLAB)
- 老師沒教的數(shù)學(xué)
- 救命的數(shù)學(xué)
- 數(shù)學(xué)原來可以這樣學(xué):初中篇
- Hands-On IoT Solutions with Blockchain
- 愛情數(shù)學(xué)(TED 思想的力量系列)
- 神機(jī)妙算:一本關(guān)于算法的閑書
- 基于變分法的細(xì)胞演化建模
- 線性代數(shù)
- 數(shù)字狂想