MCPcopy 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

16var content string
17
18func 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

RunMainWindowMethod · 0.95
NewBodyFunction · 0.92
LogFunction · 0.92
ReadHTMLStringFunction · 0.92
NewContextFunction · 0.92

Tested by

no test coverage detected