Ai
3 Star 12 Fork 6

up-zero/redis-desktop-client

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
main.go 620 Bytes
一键复制 编辑 原始数据 按行查看 历史
GetcharZp 提交于 2022-11-27 16:49 +08:00 . fix 编译后无法打开
package main
import (
"embed"
"github.com/wailsapp/wails/v2"
"github.com/wailsapp/wails/v2/pkg/options"
)
//go:embed all:frontend/dist
var assets embed.FS
func main() {
// Create an instance of the app structure
app := NewApp()
// Create application with options
err := wails.Run(&options.App{
Title: "redis-desktop-client",
Width: 1024,
Height: 768,
Assets: assets,
BackgroundColour: &options.RGBA{R: 27, G: 38, B: 54, A: 1},
OnStartup: app.startup,
Bind: []interface{}{
app,
},
})
if err != nil {
println("Error:", err.Error())
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/up-zero/redis-desktop-client.git
git@gitee.com:up-zero/redis-desktop-client.git
up-zero
redis-desktop-client
redis-desktop-client
v0.1.2

搜索帮助