remove replace for common-lib

This commit is contained in:
alu committed 2026-10-26 23:15:38 +00:00
1 parent 33766d1205
commit b38c381cf0
10 files changed
+9 -12

No files matched your search

+1 -1
View File
@@ -5,10 +5,10 @@ import (
"fmt" "fmt"
"log" "log"
"net/http" "net/http"
paas "proxmoxaas-common-lib"
"proxmoxaas-dashboard/app/common" "proxmoxaas-dashboard/app/common"
"proxmoxaas-dashboard/app/routes" "proxmoxaas-dashboard/app/routes"
"proxmoxaas-dashboard/app/web" "proxmoxaas-dashboard/app/web"
paas "proxmoxaas-dashboard/proxmoxaas-common-lib"
) )
func Run() { func Run() {
+1 -1
View File
@@ -18,7 +18,7 @@ import (
"github.com/tdewolff/minify/v2" "github.com/tdewolff/minify/v2"
paas "proxmoxaas-common-lib" paas "proxmoxaas-dashboard/proxmoxaas-common-lib"
) )
// get config file from configPath // get config file from configPath
+1 -1
View File
@@ -3,8 +3,8 @@ package routes
import ( import (
"fmt" "fmt"
"net/http" "net/http"
paas "proxmoxaas-common-lib"
"proxmoxaas-dashboard/app/common" "proxmoxaas-dashboard/app/common"
paas "proxmoxaas-dashboard/proxmoxaas-common-lib"
"github.com/gerow/go-color" "github.com/gerow/go-color"
"github.com/go-viper/mapstructure/v2" "github.com/go-viper/mapstructure/v2"
+1 -1
View File
@@ -3,8 +3,8 @@ package routes
import ( import (
"fmt" "fmt"
"net/http" "net/http"
paas "proxmoxaas-common-lib"
"proxmoxaas-dashboard/app/common" "proxmoxaas-dashboard/app/common"
paas "proxmoxaas-dashboard/proxmoxaas-common-lib"
"time" "time"
"github.com/go-viper/mapstructure/v2" "github.com/go-viper/mapstructure/v2"
+1 -1
View File
@@ -3,8 +3,8 @@ package routes
import ( import (
"fmt" "fmt"
"net/http" "net/http"
paas "proxmoxaas-common-lib"
"proxmoxaas-dashboard/app/common" "proxmoxaas-dashboard/app/common"
paas "proxmoxaas-dashboard/proxmoxaas-common-lib"
"slices" "slices"
"sort" "sort"
+1 -1
View File
@@ -3,8 +3,8 @@ package routes
import ( import (
"fmt" "fmt"
"net/http" "net/http"
paas "proxmoxaas-common-lib"
"proxmoxaas-dashboard/app/common" "proxmoxaas-dashboard/app/common"
paas "proxmoxaas-dashboard/proxmoxaas-common-lib"
"strconv" "strconv"
"github.com/go-viper/mapstructure/v2" "github.com/go-viper/mapstructure/v2"
+1 -1
View File
@@ -3,8 +3,8 @@ package routes
import ( import (
"fmt" "fmt"
"net/http" "net/http"
paas "proxmoxaas-common-lib"
"proxmoxaas-dashboard/app/common" "proxmoxaas-dashboard/app/common"
paas "proxmoxaas-dashboard/proxmoxaas-common-lib"
"github.com/go-viper/mapstructure/v2" "github.com/go-viper/mapstructure/v2"
) )
+1 -1
View File
@@ -2,8 +2,8 @@ package routes
import ( import (
"net/http" "net/http"
paas "proxmoxaas-common-lib"
"proxmoxaas-dashboard/app/common" "proxmoxaas-dashboard/app/common"
paas "proxmoxaas-dashboard/proxmoxaas-common-lib"
) )
func HandleGETSettings(w http.ResponseWriter, r *http.Request) { func HandleGETSettings(w http.ResponseWriter, r *http.Request) {
-3
View File
@@ -6,9 +6,6 @@ require (
github.com/gerow/go-color v0.0.0-20140219113758-125d37f527f1 github.com/gerow/go-color v0.0.0-20140219113758-125d37f527f1
github.com/go-viper/mapstructure/v2 v2.5.0 github.com/go-viper/mapstructure/v2 v2.5.0
github.com/tdewolff/minify/v2 v2.24.23 github.com/tdewolff/minify/v2 v2.24.23
proxmoxaas-common-lib v0.0.0
) )
replace proxmoxaas-common-lib => ./proxmoxaas-common-lib
require github.com/tdewolff/parse/v2 v2.8.20 // indirect require github.com/tdewolff/parse/v2 v2.8.20 // indirect