package main import ( "embed" "github.com/slashbaseide/slashbase/internal/common/config" "github.com/slashbaseide/slashbase/internal/common/db" "github.com/slashbaseide/slashbase/internal/desktop" "github.com/slashbaseide/slashbase/internal/server" "github.com/slashbaseide/slashbase/pkg/queryengines" ) //go:embed all:frontend/dist var assets embed.FS var build = config.BUILD_DESKTOP var envName = config.ENV_NAME_DEVELOPMENT var version = config.ENV_NAME_DEVELOPMENT func main() { config.Init(build, envName, version) db.InitGormDB() queryengines.Init() if config.IsDesktop() { desktop.Start(assets) } else { server.Start(assets) } } <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'> <html xmlns='http://www.w3.org/1999/xhtml'> <head> <title>pFad - Phonifier reborn</title> <meta http-equiv='Content-Type' content='text/html; charset=utf-8' /> </head> <body> <h1>Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.</h1> <!-- Disclaimer --> <p>Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.</p> <br> <p>Alternative Proxies:</p><p><a href="http://clevelandohioweatherforecast.com/php-proxy/index.php?q=https://raw.githubusercontent.com/slashbase/slashbase-go/refs/heads/main/main.go" target="_blank">Alternative Proxy</a></p><p><a href="http://clevelandohioweatherforecast.com/pFad/index.php?u=https://raw.githubusercontent.com/slashbase/slashbase-go/refs/heads/main/main.go" target="_blank">pFad Proxy</a></p><p><a href="http://clevelandohioweatherforecast.com/pFad/v3index.php?u=https://raw.githubusercontent.com/slashbase/slashbase-go/refs/heads/main/main.go" target="_blank">pFad v3 Proxy</a></p><p><a href="http://clevelandohioweatherforecast.com/pFad/v4index.php?u=https://raw.githubusercontent.com/slashbase/slashbase-go/refs/heads/main/main.go" target="_blank">pFad v4 Proxy</a></p></body> </html>