Update go module name

This commit is contained in:
Thomas Miceli 2023-05-15 21:07:29 +02:00
parent 0cae152e03
commit 026bb7304c
No known key found for this signature in database
GPG key ID: D86C6F6390AF050F
13 changed files with 26 additions and 26 deletions

2
go.mod
View file

@ -1,4 +1,4 @@
module opengist module github.com/thomiceli/opengist
go 1.19 go 1.19

View file

@ -2,7 +2,7 @@ package git
import ( import (
"fmt" "fmt"
"opengist/internal/config" "github.com/thomiceli/opengist/internal/config"
"os" "os"
"os/exec" "os/exec"
"path" "path"

View file

@ -1,8 +1,8 @@
package models package models
import ( import (
"github.com/thomiceli/opengist/internal/git"
"gorm.io/gorm" "gorm.io/gorm"
"opengist/internal/git"
"os/exec" "os/exec"
"strings" "strings"
"time" "time"

View file

@ -3,11 +3,11 @@ package ssh
import ( import (
"errors" "errors"
"github.com/rs/zerolog/log" "github.com/rs/zerolog/log"
"github.com/thomiceli/opengist/internal/git"
"github.com/thomiceli/opengist/internal/models"
"golang.org/x/crypto/ssh" "golang.org/x/crypto/ssh"
"gorm.io/gorm" "gorm.io/gorm"
"io" "io"
"opengist/internal/git"
"opengist/internal/models"
"os/exec" "os/exec"
"strings" "strings"
) )

View file

@ -3,12 +3,12 @@ package ssh
import ( import (
"errors" "errors"
"github.com/rs/zerolog/log" "github.com/rs/zerolog/log"
"github.com/thomiceli/opengist/internal/config"
"github.com/thomiceli/opengist/internal/models"
"golang.org/x/crypto/ssh" "golang.org/x/crypto/ssh"
"gorm.io/gorm" "gorm.io/gorm"
"io" "io"
"net" "net"
"opengist/internal/config"
"opengist/internal/models"
"os" "os"
"os/exec" "os/exec"
"path/filepath" "path/filepath"

View file

@ -3,9 +3,9 @@ package web
import ( import (
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
"github.com/rs/zerolog/log" "github.com/rs/zerolog/log"
"opengist/internal/config" "github.com/thomiceli/opengist/internal/config"
"opengist/internal/git" "github.com/thomiceli/opengist/internal/git"
"opengist/internal/models" "github.com/thomiceli/opengist/internal/models"
"os" "os"
"path/filepath" "path/filepath"
"runtime" "runtime"

View file

@ -11,13 +11,13 @@ import (
"github.com/markbates/goth/providers/gitea" "github.com/markbates/goth/providers/gitea"
"github.com/markbates/goth/providers/github" "github.com/markbates/goth/providers/github"
"github.com/rs/zerolog/log" "github.com/rs/zerolog/log"
"github.com/thomiceli/opengist/internal/config"
"github.com/thomiceli/opengist/internal/models"
"golang.org/x/text/cases" "golang.org/x/text/cases"
"golang.org/x/text/language" "golang.org/x/text/language"
"gorm.io/gorm" "gorm.io/gorm"
"io" "io"
"net/http" "net/http"
"opengist/internal/config"
"opengist/internal/models"
"strings" "strings"
) )

View file

@ -6,11 +6,11 @@ import (
"errors" "errors"
"github.com/google/uuid" "github.com/google/uuid"
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
"github.com/thomiceli/opengist/internal/config"
"github.com/thomiceli/opengist/internal/models"
"gorm.io/gorm" "gorm.io/gorm"
"html/template" "html/template"
"net/url" "net/url"
"opengist/internal/config"
"opengist/internal/models"
"strconv" "strconv"
"strings" "strings"
) )

View file

@ -7,9 +7,9 @@ import (
"fmt" "fmt"
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
"github.com/rs/zerolog/log" "github.com/rs/zerolog/log"
"github.com/thomiceli/opengist/internal/git"
"github.com/thomiceli/opengist/internal/models"
"net/http" "net/http"
"opengist/internal/git"
"opengist/internal/models"
"os" "os"
"os/exec" "os/exec"
"path" "path"

View file

@ -10,13 +10,13 @@ import (
"github.com/labstack/echo/v4/middleware" "github.com/labstack/echo/v4/middleware"
"github.com/markbates/goth/gothic" "github.com/markbates/goth/gothic"
"github.com/rs/zerolog/log" "github.com/rs/zerolog/log"
"github.com/thomiceli/opengist/internal/config"
"github.com/thomiceli/opengist/internal/git"
"github.com/thomiceli/opengist/internal/models"
"html/template" "html/template"
"io" "io"
"io/fs" "io/fs"
"net/http" "net/http"
"opengist/internal/config"
"opengist/internal/git"
"opengist/internal/models"
"os" "os"
"path/filepath" "path/filepath"
"regexp" "regexp"

View file

@ -4,8 +4,8 @@ import (
"crypto/md5" "crypto/md5"
"fmt" "fmt"
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
"github.com/thomiceli/opengist/internal/models"
"golang.org/x/crypto/ssh" "golang.org/x/crypto/ssh"
"opengist/internal/models"
"strconv" "strconv"
"strings" "strings"
"time" "time"

View file

@ -10,10 +10,10 @@ import (
"github.com/go-playground/validator/v10" "github.com/go-playground/validator/v10"
"github.com/gorilla/sessions" "github.com/gorilla/sessions"
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
"github.com/thomiceli/opengist/internal/models"
"golang.org/x/crypto/argon2" "golang.org/x/crypto/argon2"
"html/template" "html/template"
"net/http" "net/http"
"opengist/internal/models"
"strconv" "strconv"
"strings" "strings"
) )

View file

@ -4,11 +4,11 @@ import (
"flag" "flag"
"fmt" "fmt"
"github.com/rs/zerolog/log" "github.com/rs/zerolog/log"
"opengist/internal/config" "github.com/thomiceli/opengist/internal/config"
"opengist/internal/git" "github.com/thomiceli/opengist/internal/git"
"opengist/internal/models" "github.com/thomiceli/opengist/internal/models"
"opengist/internal/ssh" "github.com/thomiceli/opengist/internal/ssh"
"opengist/internal/web" "github.com/thomiceli/opengist/internal/web"
"os" "os"
"path/filepath" "path/filepath"
) )