ollama/app/main.go
Daniel Hiltgen 29e90cc13b Implement new Go based Desktop app
This focuses on Windows first, but coudl be used for Mac
and possibly linux in the future.
2024-02-15 05:56:45 +00:00

17 lines
324 B
Go

package main
// Compile with the following to get rid of the cmd pop up on windows
// go build -ldflags="-H windowsgui" .
import (
"os"
"github.com/jmorganca/ollama/app/lifecycle"
)
func main() {
// TODO - remove as we end the early access phase
os.Setenv("OLLAMA_DEBUG", "1") // nolint:errcheck
lifecycle.Run()
}