diff --git a/modules/README.md b/modules/README.md
index a7b756e783002e337671551a5ef79e458358c879..a2937b267f7dd261ed693be29e1d12e360568854 100644
--- a/modules/README.md
+++ b/modules/README.md
@@ -211,7 +211,7 @@ Now we can add the implementations for the `Begin` and `Finish` functions, and f
 ```go
 func Begin(ctx *C.knot_layer_t, param unsafe.Pointer) C.int {
 	// Save the context
-	ctx->data = param
+	ctx.data = param
 	return 0
 }