1
0

Update readme.md

This commit is contained in:
arpio 2025-10-10 15:15:16 +02:00
parent 5e801652d7
commit 171a36c869

View File

@ -2,7 +2,7 @@
Library and command to help accessing go doc comments during runtime. 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 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 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. code, will have the docs accessible via the top level docreflect package methods.