![Learn Data Structures and Algorithms with Golang](https://wfqqreader-1252317822.image.myqcloud.com/cover/744/36698744/b_36698744.jpg)
上QQ阅读APP看书,第一时间看更新
Technical requirements
Install Go version 1.10 from https://golang.org/doc/install for your operating system.
The code files for this chapter can be found at the following GitHub URL: https://github.com/PacktPublishing/Learn-Data-Structures-and-Algorithms-with-Golang/tree/master/Chapter01.
Check the installation of Go by running the hello world program at https://github.com/PacktPublishing/Learn-Data-Structures-and-Algorithms-with-Golang/tree/master/hello_world:
//main package has examples shown
// in Hands-On Data Structures and algorithms with Go book
package main
// importing fmt package
import (
"fmt"
)
// main method
func main() {
fmt.Println("Hello World")
}
Run the following commands:
go build
./hello_world
The following screenshot displays the output:
![](https://epubservercos.yuewen.com/AA6936/19470380301498306/epubprivate/OEBPS/Images/8057be5f-396d-4d1f-9aa4-cd3f6eee3310.png?sign=1738964048-3fZZrPTOexEBq4EaDrmNvd0g6SFcnQ9N-0-6cbf534c72fe4368d9da3cc21eb728c0)
Let's take a look at the classification of data structures and structural design patterns in the next section.