Browse Source

rework document for API

Shelikhoo 4 years ago
parent
commit
c66a1678da
1 changed files with 2 additions and 2 deletions
  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)