/
githubmirror
/
ydb-go-sdk
Обзор
Документация
Войти
/
githubmirror
/
ydb-go-sdk
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
meta.go
25 строк
860 B
Aleksey Myasnikov
revert comments for deprecated
08 апр 2024, 11:03
08 апр 2024, 11:03
c0c3905
Код
Авторство
О чём код?
package ydb import ( "context" "github.com/ydb-platform/ydb-go-sdk/v3/meta" ) // WithTraceID returns a copy of parent context with traceID // // Deprecated: use meta.WithTraceID instead. // Will be removed after Oct 2024. // Read about versioning policy: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#deprecated func WithTraceID(ctx context.Context, traceID string) context.Context { return meta.WithTraceID(ctx, traceID) } // WithRequestType returns a copy of parent context with custom request type // // Deprecated: use meta.WithRequestType instead. // Will be removed after Oct 2024. // Read about versioning policy: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#deprecated func WithRequestType(ctx context.Context, requestType string) context.Context { return meta.WithRequestType(ctx, requestType) }