Parcourir la source

rework document for API

Shelikhoo il y a 4 ans
Parent
commit
c66a1678da
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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)