@@ -12,9 +12,9 @@ type scopedClientKey struct{}
1212// ctx := ld.GoContextWithScopedClient(context.Background(), scopedClient)
1313// otherFunction(ctx)
1414//
15- // This function is not stable, and not subject to any backwards compatibility
16- // guarantees or semantic versioning. It is not suitable for production usage. Do
17- // not use it. You have been warned .
15+ // This function is in beta. It is still undergoing testing and active
16+ // development. Its functionality may change without notice, including becoming
17+ // backwards incompatible .
1818func GoContextWithScopedClient (ctx context.Context , client * LDScopedClient ) context.Context {
1919 return context .WithValue (ctx , scopedClientKey {}, client )
2020}
@@ -32,9 +32,9 @@ func GoContextWithScopedClient(ctx context.Context, client *LDScopedClient) cont
3232// }
3333// }
3434//
35- // This function is not stable, and not subject to any backwards compatibility
36- // guarantees or semantic versioning. It is not suitable for production usage. Do
37- // not use it. You have been warned .
35+ // This function is in beta. It is still undergoing testing and active
36+ // development. Its functionality may change without notice, including becoming
37+ // backwards incompatible .
3838func GetScopedClient (ctx context.Context ) (* LDScopedClient , bool ) {
3939 client , ok := ctx .Value (scopedClientKey {}).(* LDScopedClient )
4040 return client , ok
@@ -49,9 +49,9 @@ func GetScopedClient(ctx context.Context) (*LDScopedClient, bool) {
4949// // handle err as appropriate...
5050// }
5151//
52- // This function is not stable, and not subject to any backwards compatibility
53- // guarantees or semantic versioning. It is not suitable for production usage. Do
54- // not use it. You have been warned .
52+ // This function is in beta. It is still undergoing testing and active
53+ // development. Its functionality may change without notice, including becoming
54+ // backwards incompatible .
5555func MustGetScopedClient (ctx context.Context ) * LDScopedClient {
5656 client , ok := GetScopedClient (ctx )
5757 if ! ok {
0 commit comments