Skip to content

Conversation

2hmad
Copy link
Member

@2hmad 2hmad commented Apr 21, 2023

Description

  • Add the SetValue method to create a middleware that adds a value to the context
  • Add the GetValue method to return the value for the given key
  • Add tests in middleware_test.go

Fixes #16

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
@2hmad 2hmad added this to the Stable release milestone Apr 21, 2023
@2hmad 2hmad merged commit 6ee791c into master Apr 21, 2023
@2hmad 2hmad deleted the ai/issue-16/1 branch April 21, 2023 22:21
@2hmad 2hmad self-assigned this Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment