Discover Packages
github.com/abitofhelp/servicelib
EXAMPLES
context
package
Version:
v1.6.0
Opens a new window with list of versions in this module.
Published: Jun 26, 2025
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Context Examples
Overview
This directory contains examples demonstrating how to use the context components of the ServiceLib library. Each example is a complete, runnable application that showcases specific features and usage patterns.
Examples
Running the Examples
Each example can be run from its directory using:
go run main.go
License
This project is licensed under the MIT License - see the LICENSE file for details.
Expand ▾
Collapse ▴
Documentation
¶
Example of error handling with the context package
Source Files
¶
Directories
¶
Example of basic usage of the context package
Example of basic usage of the context package
Example of using timeouts with the context package
Example of using timeouts with the context package
Example of value propagation with the context package
Example of value propagation with the context package
Click to show internal directories.
Click to hide internal directories.