Develop desktop apps with native UI or web frontend in Go
This report summarizes scanner evidence for egoist/mygo, a Go project with 6,260 GitHub stars. SynthScan examined 660,283 lines of code across 2539 source files, recording 1222 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 1.8 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-11-15.
Can maintainers explain intent, assumptions, and trade-offs? 1207 finding(s).
Are imports declared and package/API names verified? 15 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 1222 finding(s).
Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 1222 distinct pattern matches across 7 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | dialog.go | 21 | Name string | COMMENT |
| LOW | dialog.go | 101 | // Cmd+. on macOS), also when it is the default button. When zero, the | COMMENT |
| LOW | fit_content.go | 21 | // native connects a flyout's native UI to it (connectFit), and show | COMMENT |
| LOW | pdf_text.go | 21 | // characters of a font's glyphs, CoreGraphics names the radical. Some | COMMENT |
| LOW | window.go | 61 | // resizable 800x600 window centered on screen. | COMMENT |
| LOW | window.go | 81 | MaxWidth, MaxHeight int | COMMENT |
| LOW | window.go | 101 | // the traffic lights on macOS, and minimize, maximize and close at the | COMMENT |
| LOW | window.go | 141 | // AutoHideMenuBar keeps the window's menu bar out of sight until the | COMMENT |
| LOW | window.go | 161 | // "#80ff0000", "rgba(255, 0, 0, 0.5)", or "light-dark(...)" to follow | COMMENT |
| LOW | window.go | 181 | // and closes with it. It can go to any display, and stays where it is | COMMENT |
| LOW | window.go | 201 | // macOS, showing or focusing it gives it the keyboard without | COMMENT |
| LOW | window.go | 221 | // package ui. The window then has no page (Window.Page is nil): URL | COMMENT |
| LOW | window.go | 261 | // WindowStateStore keeps the states of the windows with a | COMMENT |
| LOW | window.go | 281 | // store may keep. It is called when a window with a StateKey closes | COMMENT |
| LOW | window.go | 301 | // no states to the store (window-state.json, or the store of | COMMENT |
| LOW | window.go | 321 | panel bool | COMMENT |
| LOW | window.go | 341 | // reference to: the Content's view, and all it reaches, stays only as | COMMENT |
| LOW | window.go | 1001 | // backgroundShow tells that an app `mygo dev -background` launched | COMMENT |
| LOW | window.go | 1321 | func (w *Window) SetIgnoreMouseEvents(v bool) { | COMMENT |
| LOW | window.go | 1341 | // of it. Rectangles without area are dropped. Set the region again as | COMMENT |
| LOW | window.go | 1441 | // ProgressPaused and ProgressError color the bar yellow and red on | COMMENT |
| LOW | window.go | 1701 | func (p *Page) UserAgent() string { return pageGet(p.w, platform.Window.UserAgent) } | COMMENT |
| LOW | window.go | 1721 | // out (to capture it with a Core Audio process tap, for instance), 0 when | COMMENT |
| LOW | window.go | 1841 | } | COMMENT |
| LOW | window.go | 1981 | COMMENT | |
| LOW | paths.go | 21 | // PathUserData is PathAppData joined with the application name. It is | COMMENT |
| LOW | mygo.go | 1 | // Package mygo is a desktop application framework written in pure Go, | COMMENT |
| LOW | mygo.go | 21 | // if err := mygo.App.Run(); err != nil { | COMMENT |
| LOW | mygo.go | 41 | // | COMMENT |
| LOW | document_service.go | 1 | package mygo | COMMENT |
| LOW | session_state.go | 1 | package mygo | COMMENT |
| LOW | session_state.go | 21 | // WebKit or later), its form fields only as it goes out of view (its | COMMENT |
| LOW | clipboard_watch.go | 21 | // coalesced; a call is a prompt to read what the clipboard holds now, not | COMMENT |
| LOW | recent_docs.go | 41 | } | COMMENT |
| LOW | auth.go | 21 | // "ntlm" or "negotiate". | COMMENT |
| LOW | auth.go | 41 | // or an empty AuthResponse to cancel, and runs on the main thread while | COMMENT |
| LOW | auth.go | 101 | // Host and Port of the server asking, or of the proxy, e.g. | COMMENT |
| LOW | auth.go | 121 | type ClientCertificateResponse struct { | COMMENT |
| LOW | auth.go | 201 | // x509.ParseCertificate reads. Compare it, or its hash, with the one | COMMENT |
| LOW | auth.go | 221 | // | COMMENT |
| LOW | cookies.go | 21 | // CookieSameSiteLax sends the cookie along when the user navigates | COMMENT |
| LOW | cookies.go | 61 | // "example.com", ".example.com" and "www.example.com". | COMMENT |
| LOW | cookies.go | 101 | // | COMMENT |
| LOW | appfile.go | 21 | // the file's deletion (readShared) and its replaces rename with POSIX | COMMENT |
| LOW | updater.go | 41 | // startExe is the executable the app started from. On Linux, os.Executable | COMMENT |
| LOW | updater.go | 61 | var prereleases atomic.Bool | COMMENT |
| LOW | updater.go | 201 | } | COMMENT |
| LOW | content_rules.go | 21 | func (r *ContentRules) ID() string { return r.id } | COMMENT |
| LOW | content_rules.go | 41 | // - if-top-url or unless-top-url: regular expressions of the page's URL; | COMMENT |
| LOW | content_rules.go | 61 | // whose selector the engine cannot parse is skipped; any other mistake | COMMENT |
| LOW | jumplist.go | 21 | } | COMMENT |
| LOW | jumplist.go | 41 | // program's own icon. | COMMENT |
| LOW | page.go | 41 | // | COMMENT |
| LOW | page.go | 61 | } | COMMENT |
| LOW | page.go | 101 | } | COMMENT |
| LOW | page.go | 121 | // is always false. | COMMENT |
| LOW | page.go | 181 | // one in the app's window or menu bar. The page asks for the devices | COMMENT |
| LOW | page.go | 201 | COMMENT | |
| LOW | page.go | 221 | // for the device again goes to SetPermissionHandler, as a new capture | COMMENT |
| LOW | page.go | 261 | // both looked up with respondsToSelector:, else the page's script, | COMMENT |
| 1143 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | ui/transform_test.go | 141 | if op.Kind == scene.OpFill && op.Rect.W == 1 && op.Color == tt.rt.c.theme.Accent.scene() { | CODE |
| CRITICAL | ui/router_test.go | 437 | if n := len(tt.rt.c.root.first.children()); n != 2 { | CODE |
| CRITICAL | ui/router_test.go | 460 | pages := tt.rt.c.root.first.children() | CODE |
| CRITICAL | ui/router_test.go | 465 | if pages := tt.rt.c.root.first.children(); len(pages) != 1 || pages[0].opacitySet && pages[0].opacity != 1 { | CODE |
| CRITICAL | ui/router_test.go | 481 | if len(tt.rt.c.root.first.children()) != 1 { | CODE |
| CRITICAL | ui/router_test.go | 780 | if x := at("Page /notes/1"); x != 0 || len(tt.rt.c.root.first.children()) != 1 { | CODE |
| CRITICAL | ui/editor/line_styles_test.go | 143 | if got, want := ct.st.ed.view.heights.total(), 3*float64(ct.st.ed.view.lineHeight); got != want { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cmd/mygo/nsis_test.go | 47 | "(c) 2020-2026 Jane Doe": "Jane Doe", | CODE |
| LOW | cmd/mygo/installscript_test.go | 47 | home := filepath.Join(t.TempDir(), "Jane Doe") | CODE |
| LOW | cmd/mygo/installscript_test.go | 395 | home := filepath.Join(t.TempDir(), "Jane Doe") | CODE |
| LOW⚡ | cmd/mygo/config_test.go | 174 | {`{"name": "My App"}`, `{"author": "Jane Doe"}`, "Jane Doe"}, | CODE |
| LOW⚡ | cmd/mygo/config_test.go | 175 | {`{"name": "My App"}`, `{"author": {"name": "Jane Doe", "email": "jane@example.com", "url": "https://jane.dev"}}`, "Ja | CODE |
| LOW⚡ | cmd/mygo/config_test.go | 178 | {`{"name": "My App", "linux": {"maintainer": "Acme <dev@acme.test>"}}`, `{"author": "Jane Doe"}`, "Acme <dev@acme.test | CODE |
| LOW | internal/platform/auth_test.go | 10 | {`Digest realm="http-auth@example.org", qop="auth, auth-int", algorithm=SHA-256, nonce="7ypf/xlj9XXwfDPEoM4URrv/xwf94B | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | internal/linux/window.go | 1772 | // Without the decorations GTK draws, as requested. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | ui/markdown/view.go | 158 | // Stream shows src, Markdown still being written, as a language model's | COMMENT |
| MEDIUM | website/docs-demo/markdown.go | 31 | // About 200 bytes a second, as a language model streams. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | scripts/bench.ts | 116 | print(results); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | audio/stretch_test.go | 216 | // 100 periods of 200 Hz: a seamless loop. | COMMENT |