1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2025-07-19 14:14:05 +00:00

Zenity progress bar

This commit is contained in:
2023-02-21 20:11:40 +01:00
parent 44c94d0d72
commit 5dd9e0573d
8 changed files with 63 additions and 3 deletions

View File

@ -2,6 +2,7 @@ package app
import (
"encoding/json"
"time"
"github.com/ncruces/zenity"
"github.com/wailsapp/wails/v2/pkg/runtime"
@ -23,6 +24,7 @@ type QueryResult struct {
}
func (a *App) FindItems(hostKey, dbKey, collKey, formJson string) QueryResult {
time.Sleep(2 * time.Second)
var out QueryResult
var form Query