Skip to content

Commit

Permalink
Update go module name
Browse files Browse the repository at this point in the history
  • Loading branch information
thomiceli committed May 15, 2023
1 parent 0cae152 commit 026bb73
Show file tree
Hide file tree
Showing 13 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module opengist
module github.com/thomiceli/opengist

go 1.19

Expand Down
2 changes: 1 addition & 1 deletion internal/git/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package git

import (
"fmt"
"opengist/internal/config"
"github.com/thomiceli/opengist/internal/config"
"os"
"os/exec"
"path"
Expand Down
2 changes: 1 addition & 1 deletion internal/models/gist.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package models

import (
"github.com/thomiceli/opengist/internal/git"
"gorm.io/gorm"
"opengist/internal/git"
"os/exec"
"strings"
"time"
Expand Down
4 changes: 2 additions & 2 deletions internal/ssh/git_ssh.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ package ssh
import (
"errors"
"github.com/rs/zerolog/log"
"github.com/thomiceli/opengist/internal/git"
"github.com/thomiceli/opengist/internal/models"
"golang.org/x/crypto/ssh"
"gorm.io/gorm"
"io"
"opengist/internal/git"
"opengist/internal/models"
"os/exec"
"strings"
)
Expand Down
4 changes: 2 additions & 2 deletions internal/ssh/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ package ssh
import (
"errors"
"github.com/rs/zerolog/log"
"github.com/thomiceli/opengist/internal/config"
"github.com/thomiceli/opengist/internal/models"
"golang.org/x/crypto/ssh"
"gorm.io/gorm"
"io"
"net"
"opengist/internal/config"
"opengist/internal/models"
"os"
"os/exec"
"path/filepath"
Expand Down
6 changes: 3 additions & 3 deletions internal/web/admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package web
import (
"github.com/labstack/echo/v4"
"github.com/rs/zerolog/log"
"opengist/internal/config"
"opengist/internal/git"
"opengist/internal/models"
"github.com/thomiceli/opengist/internal/config"
"github.com/thomiceli/opengist/internal/git"
"github.com/thomiceli/opengist/internal/models"
"os"
"path/filepath"
"runtime"
Expand Down
4 changes: 2 additions & 2 deletions internal/web/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ import (
"github.com/markbates/goth/providers/gitea"
"github.com/markbates/goth/providers/github"
"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/language"
"gorm.io/gorm"
"io"
"net/http"
"opengist/internal/config"
"opengist/internal/models"
"strings"
)

Expand Down
4 changes: 2 additions & 2 deletions internal/web/gist.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import (
"errors"
"github.com/google/uuid"
"github.com/labstack/echo/v4"
"github.com/thomiceli/opengist/internal/config"
"github.com/thomiceli/opengist/internal/models"
"gorm.io/gorm"
"html/template"
"net/url"
"opengist/internal/config"
"opengist/internal/models"
"strconv"
"strings"
)
Expand Down
4 changes: 2 additions & 2 deletions internal/web/git_http.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"fmt"
"github.com/labstack/echo/v4"
"github.com/rs/zerolog/log"
"github.com/thomiceli/opengist/internal/git"
"github.com/thomiceli/opengist/internal/models"
"net/http"
"opengist/internal/git"
"opengist/internal/models"
"os"
"os/exec"
"path"
Expand Down
6 changes: 3 additions & 3 deletions internal/web/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ import (
"github.com/labstack/echo/v4/middleware"
"github.com/markbates/goth/gothic"
"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"
"io"
"io/fs"
"net/http"
"opengist/internal/config"
"opengist/internal/git"
"opengist/internal/models"
"os"
"path/filepath"
"regexp"
Expand Down
2 changes: 1 addition & 1 deletion internal/web/settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"crypto/md5"
"fmt"
"github.com/labstack/echo/v4"
"github.com/thomiceli/opengist/internal/models"
"golang.org/x/crypto/ssh"
"opengist/internal/models"
"strconv"
"strings"
"time"
Expand Down
2 changes: 1 addition & 1 deletion internal/web/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import (
"github.com/go-playground/validator/v10"
"github.com/gorilla/sessions"
"github.com/labstack/echo/v4"
"github.com/thomiceli/opengist/internal/models"
"golang.org/x/crypto/argon2"
"html/template"
"net/http"
"opengist/internal/models"
"strconv"
"strings"
)
Expand Down
10 changes: 5 additions & 5 deletions opengist.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import (
"flag"
"fmt"
"github.com/rs/zerolog/log"
"opengist/internal/config"
"opengist/internal/git"
"opengist/internal/models"
"opengist/internal/ssh"
"opengist/internal/web"
"github.com/thomiceli/opengist/internal/config"
"github.com/thomiceli/opengist/internal/git"
"github.com/thomiceli/opengist/internal/models"
"github.com/thomiceli/opengist/internal/ssh"
"github.com/thomiceli/opengist/internal/web"
"os"
"path/filepath"
)
Expand Down

0 comments on commit 026bb73

Please sign in to comment.