diff --git a/.gitignore b/.gitignore index 86c81ce..cb50629 100644 --- a/.gitignore +++ b/.gitignore @@ -109,3 +109,7 @@ pb_data/ pocketbase vendor/ .idea + +# Executables +ConfigDN +ConfigDN.* \ No newline at end of file diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 47998d7..1e05176 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -9,7 +9,7 @@ before: builds: - id: build_cgo main: ./ - binary: configdn + binary: ConfigDN ldflags: - -s -w -X github.com/dBuidl/ConfigDN.Version={{ .Version }} env: @@ -21,7 +21,7 @@ builds: - id: build_noncgo main: ./ - binary: configdn + binary: ConfigDN ldflags: - -s -w -X github.com/dBuidl/ConfigDN.Version={{ .Version }} env: diff --git a/go.mod b/go.mod index 6e9563c..b84a771 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module liveconfig +module github.com/dBuidl/ConfigDN go 1.19 diff --git a/main.go b/main.go index e788955..d41d4d4 100644 --- a/main.go +++ b/main.go @@ -2,9 +2,9 @@ package main import ( "encoding/json" + "github.com/dBuidl/ConfigDN/ui" "github.com/labstack/echo/v5" "github.com/pocketbase/dbx" - "liveconfig/ui" "log" "net/http" "os" @@ -18,7 +18,7 @@ import ( "github.com/pocketbase/pocketbase/plugins/jsvm" "github.com/pocketbase/pocketbase/plugins/migratecmd" - _ "liveconfig/migrations" + _ "github.com/dBuidl/ConfigDN/migrations" ) func main() {