Rename module

This commit is contained in:
Bendodroid 2024-01-31 17:11:15 +01:00
parent 17753f535c
commit 8c1adae040
Signed by: bendodroid
GPG key ID: 3EEE19A0F73D5FFC
10 changed files with 16 additions and 16 deletions

View file

@ -10,7 +10,7 @@ import (
"slices"
"strings"
"gitlab.hamburg.ccc.de/ccchh/spaceapid/types"
"git.hamburg.ccc.de/ccchh/spaceapid/types"
)
const (

View file

@ -1,7 +1,7 @@
package config
import (
"gitlab.hamburg.ccc.de/ccchh/spaceapid/types"
"git.hamburg.ccc.de/ccchh/spaceapid/types"
)
type HTTPBACredentialID string

2
go.mod
View file

@ -1,3 +1,3 @@
module gitlab.hamburg.ccc.de/ccchh/spaceapid
module git.hamburg.ccc.de/ccchh/spaceapid
go 1.21

View file

@ -5,7 +5,7 @@ import (
"log"
"net/http"
"gitlab.hamburg.ccc.de/ccchh/spaceapid/types"
"git.hamburg.ccc.de/ccchh/spaceapid/types"
)
func Root(resp *types.SpaceAPIResponseV14) func(http.ResponseWriter, *http.Request) {

View file

@ -7,8 +7,8 @@ import (
"strconv"
"time"
"gitlab.hamburg.ccc.de/ccchh/spaceapid/config"
"gitlab.hamburg.ccc.de/ccchh/spaceapid/types"
"git.hamburg.ccc.de/ccchh/spaceapid/config"
"git.hamburg.ccc.de/ccchh/spaceapid/types"
)
func EnvironmentSensor(

View file

@ -6,8 +6,8 @@ import (
"strconv"
"time"
"gitlab.hamburg.ccc.de/ccchh/spaceapid/config"
"gitlab.hamburg.ccc.de/ccchh/spaceapid/types"
"git.hamburg.ccc.de/ccchh/spaceapid/config"
"git.hamburg.ccc.de/ccchh/spaceapid/types"
)
func StateOpen(

View file

@ -6,8 +6,8 @@ import (
"io"
"net/http"
"gitlab.hamburg.ccc.de/ccchh/spaceapid/config"
"gitlab.hamburg.ccc.de/ccchh/spaceapid/util"
"git.hamburg.ccc.de/ccchh/spaceapid/config"
"git.hamburg.ccc.de/ccchh/spaceapid/util"
)
// updateEndpointValidator checks BasicAuth credentials,

View file

@ -10,10 +10,10 @@ import (
"strings"
"syscall"
"gitlab.hamburg.ccc.de/ccchh/spaceapid/config"
"gitlab.hamburg.ccc.de/ccchh/spaceapid/handlers"
"gitlab.hamburg.ccc.de/ccchh/spaceapid/types"
"gitlab.hamburg.ccc.de/ccchh/spaceapid/util"
"git.hamburg.ccc.de/ccchh/spaceapid/config"
"git.hamburg.ccc.de/ccchh/spaceapid/handlers"
"git.hamburg.ccc.de/ccchh/spaceapid/types"
"git.hamburg.ccc.de/ccchh/spaceapid/util"
)
var (

View file

@ -1,7 +1,7 @@
package util
import (
"gitlab.hamburg.ccc.de/ccchh/spaceapid/config"
"git.hamburg.ccc.de/ccchh/spaceapid/config"
)
// CheckCredentials validates whether a given username/password pair matches an

View file

@ -7,7 +7,7 @@ import (
"os"
"path"
"gitlab.hamburg.ccc.de/ccchh/spaceapid/types"
"git.hamburg.ccc.de/ccchh/spaceapid/types"
)
const (