From 171a36c869a336f806dbaa5693897ed3890e5372 Mon Sep 17 00:00:00 2001 From: arpio Date: Fri, 10 Oct 2025 15:15:16 +0200 Subject: [PATCH] Update readme.md --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 1a79c70..da3f594 100644 --- a/readme.md +++ b/readme.md @@ -2,7 +2,7 @@ Library and command to help accessing go doc comments during runtime. -Go doc comments are not accessible during runtime vi reflection. To make them avaiable during runtime, we need to capture them +Go doc comments are not accessible during runtime via reflection. To make them avaiable during runtime, we need to capture them during build time. The docreflect command, or the docreflect/generate library package, fetches the go doc comments of the specified declarations, and generates Go code that registers the docs for every declaration. Code that includes the generated initialization code, will have the docs accessible via the top level docreflect package methods.