Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cogentcore/core
/ main
Function
main
htmlcore/examples/html/html.go:18–22 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
16
var
content string
17
18
func
main() {
19
b := core.NewBody(
"HTML Example"
)
20
errors.Log(htmlcore.ReadHTMLString(htmlcore.NewContext(), b, content))
21
b.RunMainWindow()
22
}
Callers
nothing calls this directly
Calls
5
RunMainWindow
Method · 0.95
NewBody
Function · 0.92
Log
Function · 0.92
ReadHTMLString
Function · 0.92
NewContext
Function · 0.92
Tested by
no test coverage detected