Book Image

Advanced Go Programming in 7 Days [Video]

By : Theofanis Despoudis
4 (2)
Book Image

Advanced Go Programming in 7 Days [Video]

4 (2)
By: Theofanis Despoudis

Overview of this book

<p>Go is a modern, open source, statically typed language that resembles C. It is particularly useful in developing cloud-native applications as it’s convenient, occupies a low footprint, and deploys fast.</p> <p>Go greatly simplifies the development of modern applications. With its vast ecosystem of tools and libraries, it's easy to create an efficient software pipeline that satisfies business requirements.</p> <p>This course will elevate your knowledge of Go by teaching you the advanced concepts of the language. You'll also understand how you can utilize them in practice. It starts by introducing familiar features of the language before delving into more details. You’ll master the art of programming with Go, which includes understanding the Go language, writing idiomatic yet readable code, building web applications, microservices, command-line applications, and more.</p> <p>By the end of the course, you'll be ready to engineer efficient Go solutions that can move mountains.</p> <p>The code bundle for this video course is available at&nbsp;<a href="https://github.com/PacktPublishing/Advanced-Go-Programming-in-7-Days/" target="_blank">https://github.com/PacktPublishing/Advanced-Go-Programming-in-7-Days/</a></p> <h1>Style and Approach</h1> <p>This course is super-friendly and accessible as it defines a daily curriculum. It will help you to implement advanced programming concepts (even if you don’t have the time to take a comprehensive course or book) and use it in your daily work. You’ll challenge your existing knowledge of Go by exploring some advanced concepts of the language. Also, you'll master the art of writing command-line apps and server-level code, then start architecting an example issue tracker microservice-based application while adhering to best practices and making it more robust and deployable.</p>
Table of Contents (7 chapters)
Chapter 1
Challenging the Aspects of Go
Content Locked
Section 7
Daily Task: Write a Process Monitor
A process monitor is a command line tool that queries and shows relevant information about Operating System processes. On top of that it offers the ability to filter a process by id or stop a process by id. Your task for today is to implement this tool using the information we showed today. - Write initial code to poll the OS for process information - Use the poll function to query and print specific process information - Add additional options to filter the results by process id