Wydawca: 24
Aaron Torres
Go (or Golang) is a statically typed programming language developed at Google. Known for its vast standard library, it also provides features such as garbage collection, type safety, dynamic-typing capabilities, and additional built-in types. This book will serve as a reference while implementing Go features to build your own applications.This Go cookbook helps you put into practice the advanced concepts and libraries that Golang offers. The recipes in the book follow best practices such as documentation, testing, and vendoring with Go modules, as well as performing clean abstractions using interfaces. You'll learn how code works and the common pitfalls to watch out for. The book covers basic type and error handling, and then moves on to explore applications, such as websites, command-line tools, and filesystems, that interact with users. You'll even get to grips with parallelism, distributed systems, and performance tuning.By the end of the book, you'll be able to use open source code and concepts in Go programming to build enterprise-class applications without any hassle.
Go Recipes for Developers. Practical techniques for building robust and modern Go applications
Burak Serdar
With its simple syntax and sensible conventions, Go has emerged as the language of choice for developers in network programming, web services, data processing, and other settings. This practical guide helps engineers leverage Go through up-to-date recipes that solve common problems in day-to-day programming. Drawing from three decades of distributed systems engineering and technical leadership at companies like Red Hat, Burak Serdar brings battle-tested expertise in building robust, scalable applications. He starts by covering basics of code structure, describing different approaches to organizing packages for different types of projects. You’ll discover practical solutions to engineering challenges in network programming, dealing with processes, databases, data processing pipelines, and testing. Each chapter provides working solutions and production-ready code snippets that you can seamlessly incorporate into your programs while working in sequential and concurrent settings. The solutions leverage the more recent additions to the Go language, such as generics and structured logging. Most of the examples are developed using the Go standard library without any third-party packages. By the end of this book, you’ll have worked through a collection of proven recipes that will equip you accelerate your Go development journey.
Jay McGavren
Język Go, zwany także golangiem, został opracowany w firmie Google i zaprezentowany światu w 2009 roku. Zaprojektowano go pod kątem wydajności przetwarzania sieciowego i wieloprocesorowego. Autorzy chcieli, aby łączył łatwość pisania aplikacji z wydajnością języków kompilowanych. Podobnie jak JavaScript czy Python, Go jest językiem, który można szybko zrozumieć, a dzięki temu bezzwłocznie zacząć tworzyć funkcjonalny kod. Niemniej, aby zyskać uznanie potencjalnego pracodawcy i swojego nowego zespołu, poza wiedzą o składni i instrukcjach sterujących oraz praktyczną umiejętnością kodowania trzeba poznać określone konwencje i techniki. Ta książka, podobnie jak inne pozycje serii Rusz głową!, została przygotowana zgodnie z najnowszymi odkryciami nauk poznawczych, teorii uczenia się i neurofizjologii. Oznacza to tyle, że dzięki niej będziesz się uczyć zgodnie z zasadami pracy swojego mózgu: zaangażujesz umysł, wykorzystasz wiele zmysłów i niepostrzeżenie przyswoisz język programowania Go. Innymi słowy: w naturalny sposób zaczniesz programować! Niecodzienny wygląd i struktura książki sprawiają, że zamiast klasycznego podręcznika otrzymujesz polisensoryczne doświadczenie poznawcze, zaprojektowane tak, aby uzyskać umiejętności przydatne każdemu deweloperowi! Nawet jeśli musisz posługiwać się innymi językami programowania, dzięki tej pozycji nauczysz się technik i praktyk, które będziesz stale wykorzystywać podczas kodowania! W tej książce między innymi: solidne podstawy tworzenia kodu, który będzie przejrzysty i łatwy w utrzymaniu metody, funkcje, pakiety... testowanie kodu i obsługa błędów dynamiczne aplikacje internetowe szablony HTML Go: rusz głową i programuj!
Radomír Sohlich
Google's Golang will be the next talk of the town, with amazing features and a powerful library. This book will gear you up for using golang by taking you through recipes that will teach you how to leverage the standard library to implement a particular solution. This will enable Go developers to take advantage of using a rock-solid standard library instead of third-party frameworks. The book begins by exploring the functionalities available for interaction between the environment and the operating system. We will explore common string operations, date/time manipulations, and numerical problems. We'll then move on to working with the database, accessing the filesystem, and performing I/O operations. From a networking perspective, we will touch on client and server-side solutions. The basics of concurrency are also covered, before we wrap up with a few tips and tricks. By the end of the book, you will have a good overview of the features of the Golang standard library and what you can achieve with them. Ultimately, you will be proficient in implementing solutions with powerful standard libraries.
Go Systems Programming. Master Linux and Unix system level programming with Go
Mihalis Tsoukalos
Go is the new systems programming language for Linux and Unix systems. It is also the language in which some of the most prominent cloud-level systems have been written, such as Docker. Where C programmers used to rule, Go programmers are in demand to write highly optimized systems programming code.Created by some of the original designers of C and Unix, Go expands the systems programmers toolkit and adds a mature, clear programming language. Traditional system applications become easier to write since pointers are not relevant and garbage collection has taken away the most problematic area for low-level systems code: memory management.This book opens up the world of high-performance Unix system applications to the beginning Go programmer. It does not get stuck on single systems or even system types, but tries to expand the original teachings from Unix system level programming to all types of servers, the cloud, and the web.
Orestes Kowalski
Dlaczego lepiej być weganinem Paul McCartney stwierdził kiedyś, że gdyby rzeźnie miały szklane ściany, każdy byłby wegetarianinem. Może. Może powiedział to Paul, a może jego żona Linda. Może gdyby ubojnie zwierząt były ze szkła, wielu z nas porzuciłoby jedzenie ich ciał. A może ludzie machnęliby ręką i nadal konsumowaliby mięso i produkty odzwierzęce, nawet jeśli nie mogliby dłużej usprawiedliwiać się niewiedzą. Zaraz, zaraz! Przecież w internecie jest mnóstwo informacji. Filmy z rzeźni są dostępne na YouTube, wystarczy jedno kliknięcie... Rzeźnie MAJĄ szklane ściany, co nie powstrzymuje większości ludzi od konsumpcji mięsa. Czyżby wiedza niczego w tym zakresie nie zmieniła? Czyżby ludzie byli po prostu okrutni i nic nie mogło zmienić ich postawy? Weganie, którzy porzucili mięso i produkty odzwierzęce z przyczyn ideowych, mają często skłonność do piętnowania mięso- i nabiałożerców jako osób niemoralnych. Część środowiska wegan lubi uważać się za lepszych. W końcu MY nie krzywdzimy zwierząt. Tylko czy taka postawa daje coś poza poczuciem wyższości? Czy może doprowadzić do zmiany zwyczajów żywieniowych większości społeczeństwa? Owszem, rezygnacja z produktów odzwierzęcych jest decyzją głęboko etyczną, ale droga do jej podjęcia nie wiedzie przez upokarzanie mięsożerców. Właściwą postawą weganina wobec przyszłego weganina powinno być argumentowanie. Odpowiednimi, logicznymi argumentami można dotrzeć do wielu potencjalnych wegan i pomóc im stać się faktycznymi weganami. Ta książka powstała właśnie po to, by przekonać nieprzekonanych.
Orestes Kowalski
Dlaczego lepiej być weganinem Paul McCartney stwierdził kiedyś, że gdyby rzeźnie miały szklane ściany, każdy byłby wegetarianinem. Może. Może powiedział to Paul, a może jego żona Linda. Może gdyby ubojnie zwierząt były ze szkła, wielu z nas porzuciłoby jedzenie ich ciał. A może ludzie machnęliby ręką i nadal konsumowaliby mięso i produkty odzwierzęce, nawet jeśli nie mogliby dłużej usprawiedliwiać się niewiedzą. Zaraz, zaraz! Przecież w internecie jest mnóstwo informacji. Filmy z rzeźni są dostępne na YouTube, wystarczy jedno kliknięcie... Rzeźnie MAJĄ szklane ściany, co nie powstrzymuje większości ludzi od konsumpcji mięsa. Czyżby wiedza niczego w tym zakresie nie zmieniła? Czyżby ludzie byli po prostu okrutni i nic nie mogło zmienić ich postawy? Weganie, którzy porzucili mięso i produkty odzwierzęce z przyczyn ideowych, mają często skłonność do piętnowania mięso- i nabiałożerców jako osób niemoralnych. Część środowiska wegan lubi uważać się za lepszych. W końcu MY nie krzywdzimy zwierząt. Tylko czy taka postawa daje coś poza poczuciem wyższości? Czy może doprowadzić do zmiany zwyczajów żywieniowych większości społeczeństwa? Owszem, rezygnacja z produktów odzwierzęcych jest decyzją głęboko etyczną, ale droga do jej podjęcia nie wiedzie przez upokarzanie mięsożerców. Właściwą postawą weganina wobec przyszłego weganina powinno być argumentowanie. Odpowiednimi, logicznymi argumentami można dotrzeć do wielu potencjalnych wegan i pomóc im stać się faktycznymi weganami. Ta książka powstała właśnie po to, by przekonać nieprzekonanych.
Go Web Development Cookbook. Build full-stack web applications with Go
Arpit Aggarwal
Go is an open source programming language that is designed to scale and support concurrency at the language level. This gives you the liberty to write large concurrent web applications with ease. From creating web application to deploying them on Amazon Cloud Services, this book will be your one-stop guide to learn web development in Go. The Go Web Development Cookbook teaches you how to create REST services, write microservices, and deploy Go Docker containers. Whether you are new to programming or a professional developer, this book will help get you up to speed with web development in Go. We will focus on writing modular code in Go; in-depth informative examples build the base, one step at a time. You will learn how to create a server, work with static files, SQL, NoSQL databases, and Beego. You will also learn how to create and secure REST services, and create and deploy Go web application and Go Docker containers on Amazon Cloud Services. By the end of the book, you will be able to apply the skills you've gained in Go to create and explore web applications in any domain.