Special offers now — see discounted courses.
day
:
hour
:
min
:
sec
See special offers
Context Package In Go Lang

Context Package In Go Lang

26mIntermediate2024-07-11

Authors

Ademusoyo Awosika-Olumo

Ademusoyo Awosika-Olumo

Technical Leader, Content Marketing Consultant, Public Speaker

Course details

In this course, technical leader Ademusoyo Awosika-Olumo teaches you about the Golang context package and different ways you can use the context package in database operations, goroutines, http requests, and testing. Learn about value passing with context, as well as context functions, cancellations, and use cases. Find out how to manage context in goroutines and how to incorporate context in database queries. Explore ways to use context for managing HTTP requests and test code. Context is a popular package in Go, and this course will provide you with the knowledge and understanding of the language that you need in order to develop more advanced code.

Skills covered

GoGoogleProgramming LanguagesSoftware DevelopmentOne-Off

Concepts

0. Introduction

  • 01 - Build robust and scalable applications in Go
  • 02 - What you should know

1. Introduction to Context Package

  • 03 - Introduction to the context package
  • 04 - Value passing with context
  • 05 - Context functions and methods
  • 06 - Context cancellation
  • 07 - Use cases for the context package

2. Using Context in Go Routines

  • 08 - Goroutines overview
  • 09 - Managing context in goroutines

3. Using Context in Database Operations

  • 10 - Overview of using context in database operations
  • 11 - Incorporating context in database queries
  • 12 - Managing context in database transactions

4. Using Context in HTTP Requests

  • 13 - Overview of using context in HTTP requests
  • 14 - Using context for managing HTTP requests
  • 15 - Timeouts, cancellations, and deadlines in HTTP requests

5. Testing Code with Context

  • 16 - Testing code with context

Conclusion

  • 17 - Next steps

About us

LyndaKade is a leading learning platform that helps people learn business, software, technology, and creative skills to achieve personal and professional goals.

Phone numberAparat ChannelTelegram SupportTelegram ChannelInstagram Page

All rights to this site belong to LyndaKade.

Terms of Service|Privacy Policy

نماد الکترونیک enamad در صورت اتصال با آی‌پی داخل کشور، نمایش داده خواهد شد.
logo-samandehi - لوگو ساماندهی
Zarinpal
Zibal