UI part of the project

This commit is contained in:
Ertan Caliskan
2024-03-24 21:11:32 +01:00
parent 9a46865055
commit 1e0e7ed738
45 changed files with 3332 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
package main
import "github.com/wailsapp/wails/v3/pkg/application"
type BotService struct{}
var excelFilePath string
func (g *BotService) ClaimFile() string {
dialog := application.OpenFileDialog()
dialog.SetTitle("Lütfen yüklenecek Excel dosyanızı seçiniz")
file, err := dialog.PromptForSingleSelection()
if err != nil {
return ""
}
excelFilePath = file
return file
}