@@ -12,9 +12,9 @@ type scopedClientKey struct{}
12
12
// ctx := ld.GoContextWithScopedClient(context.Background(), scopedClient)
13
13
// otherFunction(ctx)
14
14
//
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 .
18
18
func GoContextWithScopedClient (ctx context.Context , client * LDScopedClient ) context.Context {
19
19
return context .WithValue (ctx , scopedClientKey {}, client )
20
20
}
@@ -32,9 +32,9 @@ func GoContextWithScopedClient(ctx context.Context, client *LDScopedClient) cont
32
32
// }
33
33
// }
34
34
//
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 .
38
38
func GetScopedClient (ctx context.Context ) (* LDScopedClient , bool ) {
39
39
client , ok := ctx .Value (scopedClientKey {}).(* LDScopedClient )
40
40
return client , ok
@@ -49,9 +49,9 @@ func GetScopedClient(ctx context.Context) (*LDScopedClient, bool) {
49
49
// // handle err as appropriate...
50
50
// }
51
51
//
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 .
55
55
func MustGetScopedClient (ctx context.Context ) * LDScopedClient {
56
56
client , ok := GetScopedClient (ctx )
57
57
if ! ok {
0 commit comments