The Complete Guide to Programming Reliable and Efficient Software Using Golang
Adam Freeman
Go#
Golang#
robust#
HTML#
HTTP#
JSON#
نویسنده پرفروش، آدام فریمن، در این کتاب توضیح میدهد چگونه میتوان بیشترین بهره را از زبان برنامهنویسی Go برد. او از مفاهیم پایه شروع کرده و به پیشرفتهترین و پیچیدهترین ویژگیهای زبان میپردازد. در این مسیر، میآموزید که چگونه Go با تکیه بر یک سیستم نوعدهی ساده و یکپارچه، تجربهای کامل و کارآمد از توسعه نرمافزار فراهم میکند که منجر به تولید اپلیکیشنهایی سریع، پایدار و چندسکویی میشود.
Go (یا Golang)، زبان برنامهنویسی مختصر و کارآمدی است که توسط گوگل طراحی شده و برای ساخت اپلیکیشنهای با عملکرد بالا و قابل اجرا در پلتفرمهای مختلف بهکار میرود. این زبان با ترکیب نوعدهی ایستا و قوی، نحوی ساده و کتابخانهای استاندارد و جامع، بهرهوری برنامهنویسان را افزایش میدهد؛ در حالی که پشتیبانی قوی از برنامهنویسی همزمان و موازی نیز دارد.
هر موضوع در این کتاب با زبانی شفاف، مختصر و بیپیرایه توضیح داده شده و همراه با جزئیات لازم ارائه میشود تا شما را به یک توسعهدهنده مؤثر در Go تبدیل کند. فصلها همچنین شامل مسائل رایج و راهکارهایی برای جلوگیری از آنها هستند.
توسعهدهندگان باتجربهای که میخواهند از زبان Go برای ساخت اپلیکیشنهای مدرن استفاده کنند.
Best-selling author Adam Freeman explains how to get the most from Go, starting from the basics and building up to the most advanced and sophisticated features. You will learn how Go builds on a simple and consistent type system to create a comprehensive and productive development experience that produces fast and robust applications that run across platforms.
Go, also known as Golang, is the concise and efficient programming language designed by Google for creating high-performance, cross-platform applications. Go combines strong static types with simple syntax and a comprehensive standard library to increase programmer productivity, while still supporting features such as concurrent/parallel programming.
Each topic is covered in a clear, concise, no-nonsense approach that is packed with the details you need to learn to be truly effective. Chapters include common problems and how to avoid them.
What You Will Learn
Who This Book Is For
Experienced developers who want to use Go to create applications
Table of Contents
Part I: Understanding the Go Language
Chapter 1: Your First Go Application
Chapter 2: Putting Go in Context
Chapter 3: Using the Go Tools
Chapter 4: Basic Types, Values, and Pointers
Chapter 5: Operations and Conversions
Chapter 6: Flow Control
Chapter 7: Using Arrays, Slices, and Maps
Chapter 8: Defining and Using Functions
Chapter 9: Using Function Types
Chapter 10: Defining Structs
Chapter 11: Using Methods and Interfaces
Chapter 12: Creating and Using Packages
Chapter 13: Type and Interface Composition
Chapter 14: Using Goroutines and Channels
Chapter 15: Error Handling
Part II: Using the Go Standard Library
Chapter 16: String Processing and Regular Expressions
Chapter 17: Formatting and Scanning Strings
Chapter 18: Math Functions and Data Sorting
Chapter 19: Dates, Times, and Durations
Chapter 20: Reading and Writing Data
Chapter 21: Working with JSON Data
Chapter 22: Working with Files
Chapter 23: Using HTML and Text Templates
Chapter 24: Creating HTTP Servers
Chapter 25: Creating HTTP Clients
Chapter 26: Working with Databases
Chapter 27: Using Reflection
Chapter 28: Using Reflection, Part 2
Chapter 29: Using Reflection, Part 3
Chapter 30: Coordinating Goroutines
Chapter 31: Unit Testing, Benchmarking, and Logging
Part III: Applying Go
Chapter 32: Creating a Web Platform
Chapter 33: Middleware, Templates, and Handlers
Chapter 34: Actions, Sessions, and Authorization
Chapter 35: SportsStore: A Real Application
Chapter 36: SportsStore: Cart and Database
Chapter 37: SportsStore: Checkout and Administration
Chapter 38: SportsStore: Finishing and Deployment
Adam Freeman is an experienced IT professional who has held senior positions in a range of companies, most recently serving as chief technology officer and chief operating officer of a global bank. Now retired, he spends his time writing and long-distance running.