Oreilly - Hands-on with Go
by Tarik Guney | Released May 2018 | ISBN: 9781789132519
Learn Go programming with concise examples to many common fundamental problems.About This VideoGet comfortable with Go with short, independent, and concise videos.Overcome the most common challenges with the practical knowledge catered by the each and every tutorial.Never forget by watching pill-size videos whenever you are in a hurry.In DetailGo has moved from the state of tentative to mass adoption. Its C-like speed, simplicity, and power for a growing number of systems level programming domains make it an attractive option for programmers working with older cumbersome, statically typed languages.This course will help you learn Go programming language by solving commonly faced problems by developers in a Recipe approach. You will start by installing Go binaries and get familiar with tools to develop application. Then you will manipulate with strings and then use them in built in constructions and built-in function constructs to create a complex value from two floating-point values. Then you will learn to perform arithmetic operation date and time along with parsing them from string values.Whether you are an expert programmer or a fresh starter, you will learn how various answers are programmed in Go language, which will take you to the next level in your mastering at Go. These recipes will be from concurrency in Go, performing various web programming tasks, doing system programming, reading and writing files, and many fundamental Go programming skills such as proper error handling, doing logging, and so on.The code bundle for this video course is available at https://github.com/PacktPublishing/Hands-on-with-go Show and hide more
- Chapter 1 : Getting Started with Go
- The Course Overview 00:00:45
- Installing Go Binaries 00:03:26
- Quick Look at Go Language 00:03:08
- Chapter 2 : Manipulating String Values
- Trimming Spaces from Beginning and End of Strings 00:03:16
- Extracting Substrings from String Values 00:02:12
- Replacing Parts of a String 00:03:05
- Escaping Characters in Strings 00:03:16
- Capitalizing String Values 00:02:28
- Chapter 3 : Type Conversions
- Converting Boolean to String 00:03:59
- Converting Integer and Float Values to String 00:05:55
- Parsing String Values to Boolean 00:02:38
- Parsing String Values to Integer and Float 00:03:05
- Converting a Byte Array to String 00:02:12
- Chapter 4 : Date and Time
- Finding Today's Date and Time 00:02:06
- Adding or Subtracting from Date 00:03:13
- Finding the Difference Between Two Dates 00:01:15
- Parsing Dates and Times from Strings 00:02:10
- Chapter 5 : Maps and Arrays
- Extracting Unique Elements from a List 00:02:46
- Finding an Element from an Array 00:03:00
- Reverting an Array 00:01:30
- Iterating over an Array 00:01:50
- Converting a Map into an Array of Keys and Values 00:02:02
- Merging Arrays 00:01:39
- Merging Maps 00:02:03
- Testing for the Presence of a Key in a Map 00:02:50
- Chapter 6 : Errors and Logging
- Creating Custom Error Types 00:02:52
- Try/Catch Equivalent in Go 00:03:16
- Doing a Simple Logging in Your App 00:02:18
- Gracefully Dealing with Panics 00:03:41
- Chapter 7 : Files and Directories
- Checking the Existence of a File 00:02:11
- Reading the Entire Content of a Text File 00:01:14
- Writing to a File 00:01:52
- Creating Temporary Files 00:02:04
- Counting Lines in a File 00:01:25
- Reading a Particular Line in a File 00:01:44
- Comparing the Contents of Two Files 00:01:35
- Deleting a File 00:01:11
- Copying or Moving a File 00:02:17
- Renaming Files 00:00:39
- Deleting a Directory and Its Contents 00:01:14
- List All the Files under a Directory 00:01:07
- Chapter 8 : Concurrency
- Running Multiple Functions Concurrently 00:08:16
- Passing Data Between Concurrently Running Functions 00:03:36
- Waiting for All Concurrent Functions to Finish 00:01:59
- Selecting the Results of Concurrent Functions 00:03:05
- Chapter 9 : System Programming
- Catching Signals 00:03:48
- Running Child Processes 00:03:10
- Processing Command-line Arguments 00:03:43
- Chapter 10 : Web Programming
- Downloading a Web Page from Internet 00:01:51
- Downloading Files from Internet 00:01:30
- Creating a Simple Web Server 00:04:00
- Creating a Simple File Server 00:02:19
- Chapter 11 : Relational Databases
- Reading Data from SQL Databases 00:06:22
- Inserting Data to Database 00:01:41
- Updating Data in Database 00:01:55
- Deleting Data from Database 00:02:19
Show and hide more
TO MAC USERS: If RAR password doesn't work, use this archive program:
RAR Expander 0.8.5 Beta 4 and extract password protected files without error.
TO WIN USERS: If RAR password doesn't work, use this archive program:
Latest Winrar and extract password protected files without error.