Hands-On-Software-Engineering-with-Golang

module
v0.0.0-...-8b501b0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2023 License: MIT

README

Hands-on Software Engineering with Golang

Go Report Card Build Status Coverage Report

This is the code repository for Hands-on Software Engineering with Golang, published by Packt.

Move beyond basic programming to design and build reliable software with clean code

What is this book about?

This book distills the industry’s best practices for writing lean Go code that is easy to test and maintain and explores their practical application on Links ‘R’ US: an example project that crawls web-pages and applies the PageRank algorithm to assign an importance score to each one.

This book covers the following exciting features:

  • Understand different stages of the software development life cycle and the role of a software engineer
  • Create APIs using gRPC and leverage the middleware offered by the gRPC ecosystem
  • Discover various approaches to managing package dependencies for your projects
  • Build an end-to-end project from scratch and explore different strategies for scaling it
  • Develop a graph processing system and extend it to run in a distributed manner
  • Deploy Go services on Kubernetes and monitor their health using Prometheus

If you feel this book is for you, get your copy today!

Instructions

All of the code is organized into folders labelled after the chapter they appear on. For example, Chapter02 contains the source code for the second book chapter and so on.

The Makefile has been updated to manage dependencies via Go modules instead of the dep tool. However, the dep tool will be used as a fall-back for old Go versions (that lack module support) or if the GO111MODULE environment variable is set to off prior to running any of the Makefile targets.

Go 1.18+ is required for running the code/tests from the individual chapters. The latest version of Go for your platform can be downloaded here.

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.

Intended audience

This Golang programming book is for developers and software engineers looking to use Go to design and build scalable distributed systems effectively. Knowledge of Go programming and basic networking principles is required.

Get to Know the Author

Achilleas Anagnostopoulos has been writing code in a multitude of programming languages since the mid 90s. His main interest lies in building scalable, microservice-based distributed systems where components are interconnected via gRPC or message queues. Achilleas has over 4 years of experience building production-grade systems using Go and occasionally enjoys pushing the language to its limits through his experimental gopher-os project: a 64-bit kernel written entirely in Go. He is a former member of the Juju team at Canonical, and has contributed to one of the largest open source Go code bases in existence. He is currently working as an SRE at Google.

Suggestions and Feedback

Click here if you have any feedback or suggestions.

Download a free PDF

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.

https://packt.link/free-ebook/9781838554491

Directories

Path Synopsis
Chapter04
dependency/mock
Package mock_dependency is a generated GoMock package.
Package mock_dependency is a generated GoMock package.
Chapter06
Chapter07
crawler/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Chapter08
Chapter09
linksrus/linkgraphapi/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
linksrus/textindexerapi/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Chapter10
linksrus/service/crawler/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
linksrus/service/frontend/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
linksrus/service/pagerank/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Chapter11
Chapter12
dbspgraph/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Chapter13

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL