Go in 24 Hours, Sams Teach Yourself
Home > Computing and Information Technology > Computer programming / software engineering > Programming and scripting languages: general > Go in 24 Hours, Sams Teach Yourself: Next Generation Systems Programming with Golang(Sams Teach Yourself)
Go in 24 Hours, Sams Teach Yourself: Next Generation Systems Programming with Golang(Sams Teach Yourself)

Go in 24 Hours, Sams Teach Yourself: Next Generation Systems Programming with Golang(Sams Teach Yourself)


     0     
5
4
3
2
1



Out of Stock


Notify me when this book is in stock
X
About the Book

In just 24 sessions of one hour or less, Sams Teach Yourself Go in 24 Hours will help new and experienced programmers build software that’s simpler, more reliable, and far more scalable. This book’s straightforward, step-by-step approach guides you from setting up your environment through testing and deploying powerful solutions. Using practical examples, expert Go developer George Ornbo walks you through Go’s fundamental constructs, demonstrates its breakthrough features for concurrent and network programming, and illuminates Go’s powerful new idioms. Every lesson builds on what you’ve already learned, giving you a rock-solid foundation for real-world success.   Step-by-step instructions carefully walk you through the most common Go programming tasks and techniques Quizzes and exercises help you test your knowledge and stretch your skills Practical, hands-on examples show you how to apply what you learn Notes and Tips point out shortcuts, solutions, and problems to avoid Two bonus chapters available online: Hour 25, “Creating a RESTful JSON API,” and Hour 26 “Creating a TCP Chat Server”   Learn how to… ·         Get productive quickly with Go development tools and web servers ·         Master core features, including strings, functions, structs, and methods ·         Work with types, variables, functions, and control structures ·         Make the most of Go’s arrays, slices, and maps ·         Write powerful concurrent software with Goroutines and channels ·         Handle program errors smoothly ·         Promote code reuse with packages ·         Master Go’s unique idioms for highly effective coding ·         Use regular expressions and time/date functions ·         Test and benchmark Go code ·         Write basic command-line programs, HTTP servers, and HTTP clients ·         Efficiently move Go code into production ·         Build basic TCP chat servers and JSON APIs   Register your book at informit.com/register for convenient access to the two bonus chapters online, downloads, updates, and/or corrections as they become available.  

Table of Contents:
 Introduction Hour 1: Getting Started Introducing Go Installing Go Setting Up Your Environment Writing Your First Go Program: Hello World Summary Q&A Workshop Exercises Hour 2: Understanding Types What Is a Data Type? Differentiating Between Static and Dynamic Typing Implementing Booleans Understanding Numeric Types Checking the Type of a Variable Converting Between Types Summary Q&A Workshop Exercises Hour 3: Understanding Variables What Is a Variable? Declaring Shorthand Variables Understanding Variables and Zero Values Writing a Short Variable Declaration Styles of Variable Declaration Using Variable Scope Using Pointers Declaring Variables with Constants Summary Q&A Workshop Exercises Hour 4: Using Functions in Go What Is a Function? Defining Variadic Functions Using Named Return Values Using Recursive Functions Passing Functions as Values Summary Q&A Workshop Exercises Hour 5: Using Control Flow Using the if Statement Using the else Statement Using the else if Statement Using Comparison Operators Using Arithmetic Operators Using Logical Operators Using the switch Statement Looping with the for Statement Using the defer Statement Summary Q&A Workshop Exercises Hour 6: Working with Arrays, Slices, and Maps Working with Arrays Working with Slices Working with Maps Summary Q&A Workshop Exercises Hour 7: Using Structs and Pointers What Is a Struct? Initializing a Struct Nesting Structs Creating Default Values for Structs Comparing Structs Understanding Public and Private Values Differentiating Between Pointer and Value References Summary Q&A Workshop Exercises Hour 8: Creating Methods and Interfaces Using Methods Creating Method Sets Working with Methods and Pointers Using Interfaces Summary Q&A Workshop Exercises Hour 9: Working with Strings Creating String Literals Understanding Rune Literals Concatenating Strings Summary Q&A Workshop Exercises Hour 10: Handling Errors Handling Errors and Idiomatic Go Understanding the Error Type Creating Errors Formatting Errors Returning an Error from a Function Errors and Usability Don’t panic Summary Q&A Workshop Exercises Hour 11: Working with Goroutines Understanding Concurrency Concurrency Versus Parallelism Understanding Concurrency Through a Web Browser Blocking and Non-Blocking Code Handling Concurrent Operations with Goroutines Using Goroutines to Manage Latency Defining Goroutines Summary Q&A Workshop Exercises Hour 12: Introducing Channels Using Channels Using Buffered Channels Blocking and Flow Control Using Channels as Function Arguments Employing the select Statement Quitting Channels Summary Q&A Workshop Exercises Hour 13: Using Packages for Code Reuse Importing Packages Understanding Package Usage Using Third-Party Packages Installing a Third-Party Package Managing Third-Party Dependencies Summary Q&A Workshop Exercises Hour 14: Naming Conventions in Go Formatting Code in Go Using gofmt Configuring Text Editors Naming Conventions Using golint Using godoc Automating Workflow Summary Q&A Workshop Exercises Hour 15: Testing and Performance Testing: The Most Important Aspect of Software Development testing Package Running Table Tests Benchmarking in Go Providing Test Coverage Summary Q&A Workshop Exercises Hour 16: Debugging Logging Printing Data Using the fmt Package Using Delve Using gdb Summary Q&A Workshop Exercises Hour 17: Using Command-Line Programs Operating with Inputs and Outputs Accessing Raw Command-Line Arguments Parsing Command-Line Flags Working with Types Customizing Help Text Creating Subcommands POSIX Compliance Installing and Sharing Command-Line Programs Summary Q&A Workshop Exercises Hour 18: Creating HTTP Servers Announcing Your Presence with the “Hello World” Web Server Examining Requests and Responses Working with Handler Functions Handling 404s Setting a Header Responding to Different Types of Requests Receiving Data from GET and POST Requests Summary Q&A Workshop Exercises Hour 19: Creating HTTP Clients with Go Understanding HTTP Making a GET Request Making a POST Request Gaining Further Control over HTTP Requests Debugging HTTP Requests Dealing with Timeouts Summary Q&A Workshop Exercises Hour 20: Working with JSON Introducing JSON Using JSON APIs Using JSON with Go Decoding JSON Mapping Data Types Working with JSON Received over HTTP Summary Q&A Workshop Exercises Hour 21: Working with Files Importance of Files Reading and Writing Files with the ioutil Package Writing to a File Listing a Directory Copying a File Deleting Files Using Files to Manage Configuration Summary Q&A Workshop Exercises Hour 22: Introducing Regular Expressions Defining Regular Expressions Getting Familiar with Regular Expression Syntax Using Regular Expressions for Validation Using Regular Expressions to Transform Data Parsing Data with Regular Expressions Summary Q&A Workshop Exercises Hour 23: Programming Time in Go Programming the Element of Time Putting Your Program to Sleep Setting a Timeout Using a Ticker Representing Time in a String Format Working with Time Structs Adding and Subtracting Time Comparing Different Time Structs Summary Q&A Workshop Exercises Hour 24: Deploying Go Code Understanding Targets Reducing the Size of Binaries Using Docker Downloading Binary Files Using go get Releasing Code with Package Managers Summary Q&A Workshop Exercises   Extra Online Content Hour 25: Creating a RESTful JSON API Hour 26: Creating a TCP Chat Server     9780672338038   TOC   11/17/2017

About the Author :
George Ornbo is a software engineer, blogger, and author with 14 years of experience delivering software to startups and enterprise clients. He has experience with a broad range of programming languages, UNIX, and the underlying protocols of the web. He is currently working at a Blockchain startup in London.


Best Sellers


Product Details
  • ISBN-13: 9780134771960
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison Wesley
  • Language: English
  • Series Title: Sams Teach Yourself
  • ISBN-10: 0134771966
  • Publisher Date: 20 Dec 2017
  • Binding: Digital download
  • No of Pages: 368
  • Sub Title: Next Generation Systems Programming with Golang


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Go in 24 Hours, Sams Teach Yourself: Next Generation Systems Programming with Golang(Sams Teach Yourself)
Pearson Education (US) -
Go in 24 Hours, Sams Teach Yourself: Next Generation Systems Programming with Golang(Sams Teach Yourself)
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Go in 24 Hours, Sams Teach Yourself: Next Generation Systems Programming with Golang(Sams Teach Yourself)

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!