Update readme.md
This commit is contained in:
parent
5e801652d7
commit
171a36c869
@ -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.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user