feat: add goreleaser

This commit is contained in:
Simon Ding
2024-09-29 14:27:01 +08:00
parent ce25c090f5
commit 5d726dbcf1
25 changed files with 2192 additions and 48 deletions

View File

@@ -5,14 +5,13 @@ import (
"polaris/log"
"polaris/pkg/utils"
"polaris/server"
"syscall"
"time"
)
func main() {
log.Infof("------------------- Starting Polaris ---------------------")
syscall.Umask(0) //max permission 0777
utils.MaxPermission()
dbClient, err := db.Open()
if err != nil {