Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dhconnelly/docgo
/ functions
Functions
8 in github.com/dhconnelly/docgo
⨍
Functions
8
◇
Types & classes
2
↓ 1 callers
Function
GenerateDocs
Extract comments from source code, pass them through markdown, highlight the code, and render to a string.
doc.go:77
↓ 1 callers
Function
extractSections
## Processing sections Split the source into sections, where each section contains a comment group (consecutive leading-line // comments) and the code
doc.go:94
↓ 1 callers
Function
findResources
## Setup and running Locate the HTML template and CSS.
doc.go:151
↓ 1 callers
Function
highlightCode
Apply syntax highlighting to each section's code.
doc.go:127
↓ 1 callers
Function
loadResources
Load the HTML template and CSS styles for output.
doc.go:165
↓ 1 callers
Function
markdownComments
Apply markdown to each section's documentation.
doc.go:118
↓ 1 callers
Function
processFile
Generate documentation for a source file.
doc.go:175
Function
main
()
doc.go:189