Название: Go Programming by Example Автор(ы): Agus Kurniawan Издательство: PE Pres Год: 2015 Страниц: 150 Формат: PDF, EPUB Размер: 10 Мб Язык: English
Go, commonly referred to as golang, is a programming language initially developed at Google in 2007. This book helps you to get started with Go programming. It describes all the elements of the language and illustrates their use with code examples.
Copyright Preface 1. Development Environment 1.1 Installation 1.2 Development Tools 1.3 Hello World 1.4 Go Packages 2. Go Programming Language 2.1 Common Rule 2.2 Variables 2.2.1 Declaring Variable 2.2.2 Assigning Variables 2.2.3 Demo 2.3 Comment 2.4 Arithmetic Operations 2.5 Mathematical Functions 2.6 Increment and Decrement 2.7 Getting Input from Keyboard 2.8 Comparison Operators 2.9 Logical Operators 2.10 Decision 2.10.1 if..then 2.10.2 switch..case 2.11 Iteration - for 2.12 Iteration - while 2.13 break and continue 3. Arrays, Slices and Maps 3.1 Array 3.2 Slice 3.3 Map 4. Functions 4.1 Creating A Simple Function 4.2 Function with Parameters 4.3 Function with Returning Value 4.4 Function with Multiple Returning Values 4.5 Function with Multiple Parameters and Returning Value 4.6 Closure Function 4.7 Recursion Function 4.8 Testing 5. Pointers 5.1 Pointer in Go 5.2 Demo: Singly Linked List 6. Structs and Methods 6.1 Structs 6.2 Methods 7. String Operations 7.1 Getting Started 7.2 Concatenating Strings 7.3 String To Numeric 7.4 Numeric to String 7.5 String Parser 7.6 Check String Data Length 7.7 Copy Data 7.8 Upper and Lower Case Characters 7.9 Testing A Program 8. File Operations 8.1 Getting Started 8.2 Writing Data Into A File 8.3 Reading Data From A File 8.4 Writing All 9. Error Handling and Logging 9.1 Error Handling 9.2 defer, panic(), and recover() 9.3 try..catch 9.4 Logging 10. Building Own Go Package 10.1 Creating Simple Module 10.2 Building Own Package 11. Concurrency 11.1 Getting Started 11.2 Goroutines 11.3 Synchronizing Goroutines 11.4 Channels 12. Encoding 12.1 Getting Started 12.2 Encoding Base64 12.3 Hexadecimal 12.4 JSON 12.5 XML 12.6 CSV 13. Hashing and Cryptography 13.1 Getting Started 13.2 Hashing 13.3 Cryptography 14. Database Programming 14.1 Database for Go 14.2 MySQL Driver for Go 14.3 Testing Connection 14.4 Querying 15. Socket Programming 15.1 Socket Module 15.2 Hello World 15.3 Client/Server Socket Source Code Contact
Скачать Kurniawan A. - Go Programming by Example (2015)
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.