瀏覽代碼

rework document for API

Shelikhoo 4 年之前
父節點
當前提交
c66a1678da
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      context.go

+ 2 - 2
context.go

@@ -45,8 +45,8 @@ func toContext(ctx context.Context, v *Instance) context.Context {
 	return ctx
 }
 
-/* ToBackgroundDetachedContext create a detached context from another context
-   Internal API
+/*ToBackgroundDetachedContext create a detached context from another context
+Internal API
 */
 func ToBackgroundDetachedContext(ctx context.Context) context.Context {
 	instance := MustFromContext(ctx)