Create beautiful applications using Go
535 matches across 11 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | v2/internal/frontend/runtime/runtime_debug_desktop.js | 331 | function WindowSetSystemDefaultTheme() { |
| LOW | v2/internal/frontend/runtime/runtime_debug_desktop.js | 406 | function WindowSetBackgroundColour(R, G, B, A) { |
| LOW | v2/internal/frontend/runtime/runtime_debug_desktop.js | 593 | function processDefaultContextMenu(event) { |
| LOW | v2/internal/frontend/runtime/runtime_debug_desktop.js | 658 | function RequestNotificationAuthorization() { |
| LOW | v2/internal/frontend/runtime/runtime_debug_desktop.js | 661 | function CheckNotificationAuthorization() { |
| LOW | v2/internal/frontend/runtime/runtime_debug_desktop.js | 667 | function SendNotificationWithActions(options) { |
| LOW | v2/internal/frontend/runtime/runtime_debug_desktop.js | 670 | function RegisterNotificationCategory(category) { |
| LOW | v2/internal/frontend/runtime/runtime_debug_desktop.js | 673 | function RemoveNotificationCategory(categoryId) { |
| LOW | v2/internal/frontend/runtime/runtime_debug_desktop.js | 676 | function RemoveAllPendingNotifications() { |
| LOW | v2/internal/frontend/runtime/runtime_debug_desktop.js | 679 | function RemovePendingNotification(identifier) { |
| LOW | v2/internal/frontend/runtime/runtime_debug_desktop.js | 682 | function RemoveAllDeliveredNotifications() { |
| LOW | v2/internal/frontend/runtime/runtime_debug_desktop.js | 685 | function RemoveDeliveredNotification(identifier) { |
| LOW | v2/internal/frontend/runtime/wrapper/runtime.d.ts | 103 | export function WindowSetSystemDefaultTheme(): void; |
| LOW | v2/internal/frontend/runtime/wrapper/runtime.d.ts | 203 | export function WindowSetBackgroundColour(R: number, G: number, B: number, A: number): void; |
| LOW | v2/internal/frontend/runtime/wrapper/runtime.d.ts | 290 | export function RequestNotificationAuthorization(): Promise<boolean>; |
| LOW | v2/internal/frontend/runtime/wrapper/runtime.d.ts | 294 | export function CheckNotificationAuthorization(): Promise<boolean>; |
| LOW | v2/internal/frontend/runtime/wrapper/runtime.d.ts | 302 | export function SendNotificationWithActions(options: NotificationOptions): Promise<void>; |
| LOW | v2/internal/frontend/runtime/wrapper/runtime.d.ts | 306 | export function RegisterNotificationCategory(category: NotificationCategory): Promise<void>; |
| LOW | v2/internal/frontend/runtime/wrapper/runtime.d.ts | 310 | export function RemoveNotificationCategory(categoryId: string): Promise<void>; |
| LOW | v2/internal/frontend/runtime/wrapper/runtime.d.ts | 314 | export function RemoveAllPendingNotifications(): Promise<void>; |
| LOW | v2/internal/frontend/runtime/wrapper/runtime.d.ts | 318 | export function RemovePendingNotification(identifier: string): Promise<void>; |
| LOW | v2/internal/frontend/runtime/wrapper/runtime.d.ts | 322 | export function RemoveAllDeliveredNotifications(): Promise<void>; |
| LOW | v2/internal/frontend/runtime/wrapper/runtime.d.ts | 326 | export function RemoveDeliveredNotification(identifier: string): Promise<void>; |
| LOW | v2/internal/frontend/runtime/wrapper/runtime.js | 76 | export function WindowSetSystemDefaultTheme() { |
| LOW | v2/internal/frontend/runtime/wrapper/runtime.js | 164 | export function WindowSetBackgroundColour(R, G, B, A) { |
| LOW | v2/internal/frontend/runtime/wrapper/runtime.js | 256 | export function RequestNotificationAuthorization() { |
| LOW | v2/internal/frontend/runtime/wrapper/runtime.js | 260 | export function CheckNotificationAuthorization() { |
| LOW | v2/internal/frontend/runtime/wrapper/runtime.js | 268 | export function SendNotificationWithActions(options) { |
| LOW | v2/internal/frontend/runtime/wrapper/runtime.js | 272 | export function RegisterNotificationCategory(category) { |
| LOW | v2/internal/frontend/runtime/wrapper/runtime.js | 276 | export function RemoveNotificationCategory(categoryId) { |
| LOW | v2/internal/frontend/runtime/wrapper/runtime.js | 280 | export function RemoveAllPendingNotifications() { |
| LOW | v2/internal/frontend/runtime/wrapper/runtime.js | 284 | export function RemovePendingNotification(identifier) { |
| LOW | v2/internal/frontend/runtime/wrapper/runtime.js | 288 | export function RemoveAllDeliveredNotifications() { |
| LOW | v2/internal/frontend/runtime/wrapper/runtime.js | 292 | export function RemoveDeliveredNotification(identifier) { |
| LOW | v2/internal/frontend/runtime/desktop/window.js | 24 | export function WindowSetSystemDefaultTheme() { |
| LOW | v2/internal/frontend/runtime/desktop/window.js | 265 | export function WindowSetBackgroundColour(R, G, B, A) { |
| LOW | v2/internal/frontend/runtime/desktop/contextmenu.js | 8 | export function processDefaultContextMenu(event) { |
| LOW | v2/internal/frontend/runtime/desktop/notifications.js | 56 | export function RequestNotificationAuthorization() { |
| LOW | v2/internal/frontend/runtime/desktop/notifications.js | 68 | export function CheckNotificationAuthorization() { |
| LOW | v2/internal/frontend/runtime/desktop/notifications.js | 106 | export function SendNotificationWithActions(options) { |
| LOW | v2/internal/frontend/runtime/desktop/notifications.js | 127 | export function RegisterNotificationCategory(category) { |
| LOW | v2/internal/frontend/runtime/desktop/notifications.js | 138 | export function RemoveNotificationCategory(categoryId) { |
| LOW | v2/internal/frontend/runtime/desktop/notifications.js | 149 | export function RemoveAllPendingNotifications() { |
| LOW | v2/internal/frontend/runtime/desktop/notifications.js | 161 | export function RemovePendingNotification(identifier) { |
| LOW | v2/internal/frontend/runtime/desktop/notifications.js | 172 | export function RemoveAllDeliveredNotifications() { |
| LOW | v2/internal/frontend/runtime/desktop/notifications.js | 184 | export function RemoveDeliveredNotification(identifier) { |
| LOW | …ternal/binding/binding_test/binding_type_alias_test.go | 22 | export function MapWithImportedStructValue():Promise<Record<string, int_package.SomeStruct>>; |
| LOW | …binding/binding_test/binding_returned_promises_test.go | 24 | export function SingleReturnStructPointer(arg1:any):Promise<binding_test.PromisesTestReturnStruct>; |
| LOW | …binding/binding_test/binding_returned_promises_test.go | 26 | export function SingleReturnStructPointerSlice(arg1:any):Promise<Array<binding_test.PromisesTestReturnStruct>>; |
| LOW | …ic-recovery-test/frontend/wailsjs/runtime/runtime.d.ts | 103 | export function WindowSetSystemDefaultTheme(): void; |
| LOW | …ic-recovery-test/frontend/wailsjs/runtime/runtime.d.ts | 203 | export function WindowSetBackgroundColour(R: number, G: number, B: number, A: number): void; |
| LOW | …anic-recovery-test/frontend/wailsjs/runtime/runtime.js | 76 | export function WindowSetSystemDefaultTheme() { |
| LOW | …anic-recovery-test/frontend/wailsjs/runtime/runtime.js | 164 | export function WindowSetBackgroundColour(R, G, B, A) { |
| LOW | …es/dragdrop-test/frontend/wailsjs/runtime/runtime.d.ts | 103 | export function WindowSetSystemDefaultTheme(): void; |
| LOW | …es/dragdrop-test/frontend/wailsjs/runtime/runtime.d.ts | 203 | export function WindowSetBackgroundColour(R: number, G: number, B: number, A: number): void; |
| LOW | …ples/dragdrop-test/frontend/wailsjs/runtime/runtime.js | 76 | export function WindowSetSystemDefaultTheme() { |
| LOW | …ples/dragdrop-test/frontend/wailsjs/runtime/runtime.js | 164 | export function WindowSetBackgroundColour(R, G, B, A) { |
| LOW | …te/assets/common/frontend/wailsjs/runtime/runtime.d.ts | 103 | export function WindowSetSystemDefaultTheme(): void; |
| LOW | …te/assets/common/frontend/wailsjs/runtime/runtime.d.ts | 187 | export function WindowSetBackgroundColour(R: number, G: number, B: number, A: number): void; |
| LOW | …rate/assets/common/frontend/wailsjs/runtime/runtime.js | 76 | export function WindowSetSystemDefaultTheme() { |
| 202 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .fossa.yml | 1 | version: 3 |
| LOW | qodana.yaml | 1 | #-------------------------------------------------------------------------------# |
| LOW | qodana.yaml | 21 | #Execute shell command before Qodana execution (Applied in CI/CD pipeline) |
| LOW | webview2/webviewloader/env_create_options.go | 21 | // compatible version of the WebView2 Runtime that is installed on the user machine (first at the machine level, |
| LOW | webview2/webviewloader/env_create_options.go | 41 | wvep.userDataFolder = folder |
| LOW | webview2/webviewloader/env_create_options.go | 61 | // logic.\n\> * The features is the union of the specified features |
| LOW | webview2/webviewloader/env_create_options.go | 81 | // context menu and dialogs. It also applies to the `accept-languages` HTTP |
| LOW | webview2/webviewloader/env_create_options.go | 101 | // This defaults to the WebView2 Runtime version |
| LOW | webview2/webviewloader/env_create_options.go | 121 | // for the account associated for Windows account login, if any. |
| LOW | docs/src/env.d.ts | 1 | /// <reference path="../.astro/types.d.ts" /> |
| LOW | v2/test/4649/test_esc_fullscreen.go | 1 | //go:build darwin |
| LOW | v2/internal/go-common-file-dialog/cfd/DialogConfig.go | 21 | type DialogConfig struct { |
| LOW | v2/internal/go-common-file-dialog/cfd/vtblCommonFunc.go | 61 | |
| LOW | …internal/go-common-file-dialog/cfd/CommonFileDialog.go | 1 | // Cross-platform. |
| LOW | …internal/go-common-file-dialog/cfd/CommonFileDialog.go | 21 | // This means that, for example, a dialog with role "Import" will have a different |
| LOW | v2/internal/frontend/runtime/wrapper/runtime.d.ts | 101 | // *Windows only* |
| LOW | v2/internal/frontend/desktop/linux/window.go | 1 | //go:build linux |
| LOW | v2/internal/frontend/desktop/linux/frontend.go | 1 | //go:build linux |
| LOW | v2/internal/frontend/desktop/linux/frontend.go | 41 | #if defined(SIGCHLD) |
| LOW | v2/internal/frontend/desktop/linux/frontend.go | 61 | #endif |
| LOW | v2/internal/frontend/desktop/linux/window.c | 1 | #include <JavaScriptCore/JavaScript.h> |
| LOW | v2/internal/frontend/desktop/darwin/WindowDelegate.m | 1 | //go:build darwin |
| LOW | v2/internal/frontend/desktop/darwin/WailsContext.h | 1 | // |
| LOW | v2/internal/frontend/desktop/darwin/WailsMenu.m | 1 | //go:build darwin |
| LOW | v2/internal/frontend/desktop/darwin/Application.h | 1 | // |
| LOW | v2/internal/frontend/desktop/darwin/WailsMenu.h | 1 | // |
| LOW | v2/internal/frontend/desktop/darwin/WailsContext.m | 1 | // |
| LOW | v2/internal/frontend/desktop/darwin/AppDelegate.m | 1 | // |
| LOW | v2/internal/frontend/desktop/darwin/WailsAlert.h | 1 | // |
| LOW | v2/internal/frontend/desktop/darwin/Application.m | 1 | //go:build darwin |
| LOW | v2/internal/frontend/desktop/windows/window.go | 261 | case w32.WM_NCCALCSIZE: |
| LOW | v2/internal/frontend/desktop/windows/notifications.go | 121 | }) |
| LOW | …/internal/frontend/desktop/windows/winc/w32/typedef.go | 21 | // BYTE byte |
| LOW | …/internal/frontend/desktop/windows/winc/w32/typedef.go | 41 | // HDDEDATA HANDLE |
| LOW | …/internal/frontend/desktop/windows/winc/w32/typedef.go | 61 | // HRESULT int32 |
| LOW | …/internal/frontend/desktop/windows/winc/w32/typedef.go | 81 | // LPARAM LONG_PTR |
| LOW | …/internal/frontend/desktop/windows/winc/w32/typedef.go | 101 | // PBYTE *BYTE |
| LOW | …/internal/frontend/desktop/windows/winc/w32/typedef.go | 121 | // PLONG *LONG |
| LOW | …/internal/frontend/desktop/windows/winc/w32/typedef.go | 141 | // PUINT8 *UINT8 |
| LOW | …/internal/frontend/desktop/windows/winc/w32/typedef.go | 161 | // SSIZE_T LONG_PTR |
| LOW | v2/internal/project/project.go | 61 | // Key: GOOS/GOARCH - Executed at build level before/after a build of the specific platform and arch |
| LOW | v2/internal/system/operatingsystem/os_darwin.go | 41 | // return stdo.String(), stde.String(), err |
| LOW | …ic-recovery-test/frontend/wailsjs/runtime/runtime.d.ts | 101 | // *Windows only* |
| LOW | …es/dragdrop-test/frontend/wailsjs/runtime/runtime.d.ts | 101 | // *Windows only* |
| LOW | v2/pkg/options/mac/preferences.go | 21 | // A string used as the application name portion of the user agent string. |
| LOW | v2/pkg/options/linux/linux.go | 21 | // WindowIsTranslucent sets the window's background to transparent when enabled. |
| LOW | v2/pkg/options/assetserver/options.go | 21 | // If not defined, the result is the following in cases where the Handler would have been called: |
| LOW | v2/pkg/options/windows/windows.go | 121 | |
| LOW | v2/pkg/runtime/signal_other.go | 1 | //go:build !linux |
| LOW | v2/pkg/runtime/signal_linux.go | 41 | // |
| LOW | v2/pkg/menu/menuroles.go | 1 | // Package menu provides all the functions and structs related to menus in a Wails application. |
| LOW | v2/pkg/menu/menuroles.go | 21 | // SelectAllRole Role = "selectAll" |
| LOW | …te/assets/common/frontend/wailsjs/runtime/runtime.d.ts | 101 | // *Windows only* |
| LOW | …templates/svelte/frontend/wailsjs/runtime/runtime.d.ts | 101 | // *Windows only* |
| LOW | …/templates/templates/svelte/frontend/src/vite-env.d.ts | 1 | /// <reference types="svelte" /> |
| LOW | …es/templates/lit/frontend/wailsjs/runtime/runtime.d.ts | 101 | // *Windows only* |
| LOW | …plates/svelte-ts/frontend/wailsjs/runtime/runtime.d.ts | 101 | // *Windows only* |
| LOW | …mplates/templates/svelte-ts/frontend/src/vite-env.d.ts | 1 | /// <reference types="svelte" /> |
| LOW | …templates/vue-ts/frontend/wailsjs/runtime/runtime.d.ts | 101 | // *Windows only* |
| LOW | …es/templates/vue/frontend/wailsjs/runtime/runtime.d.ts | 101 | // *Windows only* |
| 168 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | v3/build_ios.sh | 42 | # Create the iOS app structure |
| MEDIUM | v3/build_ios.sh | 125 | # Create a simplified main.go that uses local packages |
| MEDIUM | v3/build_ios.sh | 160 | # Create a placeholder executable |
| MEDIUM | v3/build_ios.sh | 178 | # Create a simple launch script |
| MEDIUM | v3/test-new-ios-build.sh | 7 | # Create a test project structure manually |
| MEDIUM | v3/test-new-ios-build.sh | 70 | # Create a minimal main.go |
| MEDIUM | v3/test-new-ios-build.sh | 81 | # Create a simple Taskfile that includes iOS |
| MEDIUM | v3/tasks/release/test_simple.sh | 12 | # Create a test UNRELEASED_CHANGELOG.md |
| MEDIUM | v3/internal/commands/build_assets/config.yml | 1 | # This file contains the configuration for this project. |
| MEDIUM | v3/internal/commands/build_assets/windows/Taskfile.yml | 124 | # Create the Microsoft WebView2 bootstrapper if it doesn't exist |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | v3/tasks/release/release_test.go | 828 | // Step 1: Check that file has content |
| LOW | v3/tasks/release/release_test.go | 837 | // Step 2: Perform safe cleanup operation |
| LOW | v3/tasks/release/release_test.go | 845 | // Step 3: Verify file was reset to template |
| LOW | v3/tasks/release/release_test.go | 856 | // Step 4: Verify original content is gone |
| LOW | v3/tasks/release/release_test.go | 861 | // Step 5: Verify file no longer has content |
| LOW | v3/internal/debounce/debounce_test.go | 104 | // Step 1: schedule fn1 with a 2ms timer. |
| LOW | v3/internal/debounce/debounce_test.go | 107 | // Step 2: acquire the mutex BEFORE sleeping, so the timer goroutine will |
| LOW | v3/internal/debounce/debounce_test.go | 111 | // Step 3: wait long enough for the timer to have fired (it will block on Lock). |
| LOW | v3/internal/debounce/debounce_test.go | 114 | // Step 4: bump the generation by calling add directly while holding the lock. |
| LOW | v3/internal/debounce/debounce_test.go | 119 | // Step 5: release; the blocked timer goroutine now acquires the lock, checks |
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | webview2/scripts/generator/types/param.go | 156 | return p.decl.decl.decl.library.enums.Contains(p.Type) |
| CRITICAL | v3/internal/assetserver/bundledassets/runtime.js | 1 | var Qe=Object.defineProperty,Tn=Object.defineProperties;var Mn=Object.getOwnPropertyDescriptors;var Ye=Object.getOwnProp |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | v2/internal/frontend/runtime/ipc_websocket.js | 32 | `)}}}function lo(e){let t=Ur.get(e);t&&(U(e,"message",{value:t.message}),U(e,"stack",{value:t.stack}))}var vi=-7169;func |
| MEDIUM | v3/tests/window-visibility-test/main.go | 288 | HTML: "<html><head><title>About</title><style>body{font-family:Arial,sans-serif;padding:20px;background:#f0f0f0;col |
| MEDIUM | v3/internal/generator/testcases/aliases/main.go | 30 | Bar, Baz string `json:",omitempty"` // Definitely not Foo. |
| MEDIUM | v3/pkg/updater/extract.go | 35 | // would be more robust but every shipping CDN preserves extensions, and a |
| MEDIUM | v3/pkg/application/webview_window_windows.go | 58 | // Window visibility management - robust fallback for issue #2861 |
| MEDIUM | v3/pkg/application/webview_window_windows.go | 2261 | // The new robust show() method handles window visibility independently |
| MEDIUM | v3/pkg/application/webview_window_linux.go | 463 | // Linux implementation is robust - window shows immediately |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | v3/build_ios.sh | 187 | # Check if Simulator is available |
| LOW | v3/verify-ios-setup.sh | 8 | # Check if files exist |
| LOW | v3/fix-darwin-ios-constraints.sh | 37 | # Check if file has the build constraint |
| LOW | v3/tasks/release/test_simple.sh | 61 | # Check if release_notes.md was created |
| LOW | v3/internal/commands/build_assets/linux/Taskfile.yml | 37 | # Check if a C compiler is available (gcc or clang) — cross-platform via wails3 tool |
| LOW | v3/internal/commands/build_assets/android/Taskfile.yml | 162 | # Check if an emulator is already running |
| LOW | .github/workflows/nightly-release-v3.yml | 104 | # Check if current commit has a release tag |
| LOW | .github/workflows/weekly-release-v2.yml | 76 | # Check if there are actual content lines (not just blank lines or section headers) |
| LOW | .github/workflows/weekly-release-v2.yml | 111 | # Check if docs changed since last release (website/docs/ content, not just config) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | …nternal/runtime/desktop/@wailsio/runtime/src/system.ts | 100 | * @return True if the operating system is Windows, otherwise false. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | v3/internal/setupwizard/frontend/src/App.tsx | 649 | placeholder="John Doe" |
| LOW | v3/examples/web-apis/indexeddb/frontend/index.html | 89 | <input type="text" id="name" placeholder="John Doe"> |
| LOW | v3/pkg/application/bindings_bench_test.go | 253 | Name: "John Doe", |
| LOW | v3/pkg/application/bindings_bench_test.go | 326 | data := []byte(`{"name":"John","age":30,"email":"john@example.com","address":"123 Main St"}`) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | v3/examples/dialogs/Taskfile.yml | 24 | # ------------------------------------------------------------------------------ |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | v2/pkg/runtime/signal_linux.go | 49 | // Example usage: |