Revert "Rename module to git.gorlug.de/code/golang/ersteller-lib"

This reverts commit 3acac94217.
This commit is contained in:
Achim Rohn
2025-11-15 11:57:09 +01:00
parent f9e53c367a
commit 7d213824cf
41 changed files with 80 additions and 83 deletions
-3
View File
@@ -1,3 +0,0 @@
# Private gitlab repo hosting
`git config --global url."git@gitlab.com:".insteadOf "https://gitlab.com/"`
+1 -1
View File
@@ -1,7 +1,7 @@
package authentication package authentication
import ( import (
. "git.gorlug.de/code/golang/ersteller-lib" . "ersteller-lib"
"net/http" "net/http"
"strings" "strings"
+2 -2
View File
@@ -6,8 +6,8 @@ import (
"encoding/base64" "encoding/base64"
"encoding/json" "encoding/json"
"errors" "errors"
"git.gorlug.de/code/golang/ersteller-lib" "ersteller-lib"
"git.gorlug.de/code/golang/ersteller-lib/authentication" "ersteller-lib/authentication"
"github.com/gorilla/sessions" "github.com/gorilla/sessions"
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
"golang.org/x/oauth2" "golang.org/x/oauth2"
@@ -3,7 +3,7 @@ package google
import ( import (
"context" "context"
"errors" "errors"
"git.gorlug.de/code/golang/ersteller-lib" "ersteller-lib"
"github.com/doug-martin/goqu/v9" "github.com/doug-martin/goqu/v9"
) )
@@ -7,8 +7,8 @@ import (
"context" "context"
"encoding/json" "encoding/json"
"errors" "errors"
"ersteller-lib"
"fmt" "fmt"
"git.gorlug.de/code/golang/ersteller-lib"
"github.com/doug-martin/goqu/v9" "github.com/doug-martin/goqu/v9"
_ "github.com/doug-martin/goqu/v9/dialect/postgres" _ "github.com/doug-martin/goqu/v9/dialect/postgres"
"github.com/doug-martin/goqu/v9/exp" "github.com/doug-martin/goqu/v9/exp"
+2 -2
View File
@@ -5,8 +5,8 @@ import (
"crypto/rand" "crypto/rand"
"encoding/base64" "encoding/base64"
"encoding/json" "encoding/json"
. "git.gorlug.de/code/golang/ersteller-lib" . "ersteller-lib"
"git.gorlug.de/code/golang/ersteller-lib/authentication" "ersteller-lib/authentication"
"io/ioutil" "io/ioutil"
"net/http" "net/http"
"time" "time"
+1 -1
View File
@@ -2,7 +2,7 @@ package authentication
import ( import (
"context" "context"
"git.gorlug.de/code/golang/ersteller-lib" "ersteller-lib"
"github.com/gorilla/sessions" "github.com/gorilla/sessions"
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
"github.com/markbates/goth" "github.com/markbates/goth"
+1 -1
View File
@@ -1,7 +1,7 @@
package authentication package authentication
import ( import (
"git.gorlug.de/code/golang/ersteller-lib" "ersteller-lib"
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
"maragu.dev/gomponents" "maragu.dev/gomponents"
. "maragu.dev/gomponents/html" . "maragu.dev/gomponents/html"
+1 -1
View File
@@ -2,7 +2,7 @@ package main
import ( import (
"context" "context"
"git.gorlug.de/code/golang/ersteller-lib" "ersteller-lib"
"github.com/joho/godotenv" "github.com/joho/godotenv"
"os" "os"
) )
+1 -1
View File
@@ -1,4 +1,4 @@
module git.gorlug.de/code/golang/ersteller-lib module ersteller-lib
go 1.25.0 go 1.25.0
+1 -1
View File
@@ -2,7 +2,7 @@ package htmx
import ( import (
"encoding/json" "encoding/json"
"git.gorlug.de/code/golang/ersteller-lib" "ersteller-lib"
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
) )
+1 -1
View File
@@ -3,8 +3,8 @@ package llm
import ( import (
"bytes" "bytes"
"encoding/json" "encoding/json"
"ersteller-lib"
"fmt" "fmt"
"git.gorlug.de/code/golang/ersteller-lib"
"io" "io"
"net/http" "net/http"
) )
+4 -4
View File
@@ -9,11 +9,11 @@ import (
"log" "log"
"reflect" "reflect"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/migrate" "ersteller-lib/schema/ent/example/ent/migrate"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/group" "ersteller-lib/schema/ent/example/ent/group"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/todo" "ersteller-lib/schema/ent/example/ent/todo"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/user" "ersteller-lib/schema/ent/example/ent/user"
"entgo.io/ent" "entgo.io/ent"
"entgo.io/ent/dialect" "entgo.io/ent/dialect"
+3 -3
View File
@@ -5,10 +5,10 @@ package ent
import ( import (
"context" "context"
"errors" "errors"
"ersteller-lib/schema/ent/example/ent/group"
"ersteller-lib/schema/ent/example/ent/todo"
"ersteller-lib/schema/ent/example/ent/user"
"fmt" "fmt"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/group"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/todo"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/user"
"reflect" "reflect"
"sync" "sync"
+3 -3
View File
@@ -5,11 +5,11 @@ package enttest
import ( import (
"context" "context"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent" "ersteller-lib/schema/ent/example/ent"
// required by schema hooks. // required by schema hooks.
_ "git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/runtime" _ "ersteller-lib/schema/ent/example/ent/runtime"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/migrate" "ersteller-lib/schema/ent/example/ent/migrate"
"entgo.io/ent/dialect/sql/schema" "entgo.io/ent/dialect/sql/schema"
) )
+1 -1
View File
@@ -3,8 +3,8 @@
package ent package ent
import ( import (
"ersteller-lib/schema/ent/example/ent/group"
"fmt" "fmt"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/group"
"strings" "strings"
"time" "time"
+1 -1
View File
@@ -3,7 +3,7 @@
package group package group
import ( import (
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/predicate" "ersteller-lib/schema/ent/example/ent/predicate"
"time" "time"
"entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql"
+3 -3
View File
@@ -5,10 +5,10 @@ package ent
import ( import (
"context" "context"
"errors" "errors"
"ersteller-lib/schema/ent/example/ent/group"
"ersteller-lib/schema/ent/example/ent/todo"
"ersteller-lib/schema/ent/example/ent/user"
"fmt" "fmt"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/group"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/todo"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/user"
"time" "time"
"entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/dialect/sql/sqlgraph"
+2 -2
View File
@@ -4,8 +4,8 @@ package ent
import ( import (
"context" "context"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/group" "ersteller-lib/schema/ent/example/ent/group"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/predicate" "ersteller-lib/schema/ent/example/ent/predicate"
"entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql"
"entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/dialect/sql/sqlgraph"
+4 -4
View File
@@ -5,11 +5,11 @@ package ent
import ( import (
"context" "context"
"database/sql/driver" "database/sql/driver"
"ersteller-lib/schema/ent/example/ent/group"
"ersteller-lib/schema/ent/example/ent/predicate"
"ersteller-lib/schema/ent/example/ent/todo"
"ersteller-lib/schema/ent/example/ent/user"
"fmt" "fmt"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/group"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/predicate"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/todo"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/user"
"math" "math"
"entgo.io/ent" "entgo.io/ent"
+4 -4
View File
@@ -5,11 +5,11 @@ package ent
import ( import (
"context" "context"
"errors" "errors"
"ersteller-lib/schema/ent/example/ent/group"
"ersteller-lib/schema/ent/example/ent/predicate"
"ersteller-lib/schema/ent/example/ent/todo"
"ersteller-lib/schema/ent/example/ent/user"
"fmt" "fmt"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/group"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/predicate"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/todo"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/user"
"time" "time"
"entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql"
+1 -1
View File
@@ -4,8 +4,8 @@ package hook
import ( import (
"context" "context"
"ersteller-lib/schema/ent/example/ent"
"fmt" "fmt"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent"
) )
// The GroupFunc type is an adapter to allow the use of ordinary // The GroupFunc type is an adapter to allow the use of ordinary
+4 -4
View File
@@ -5,11 +5,11 @@ package ent
import ( import (
"context" "context"
"errors" "errors"
"ersteller-lib/schema/ent/example/ent/group"
"ersteller-lib/schema/ent/example/ent/predicate"
"ersteller-lib/schema/ent/example/ent/todo"
"ersteller-lib/schema/ent/example/ent/user"
"fmt" "fmt"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/group"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/predicate"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/todo"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/user"
"sync" "sync"
"time" "time"
+4 -4
View File
@@ -3,10 +3,10 @@
package ent package ent
import ( import (
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/group" "ersteller-lib/schema/ent/example/ent/group"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/schema" "ersteller-lib/schema/ent/example/ent/schema"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/todo" "ersteller-lib/schema/ent/example/ent/todo"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/user" "ersteller-lib/schema/ent/example/ent/user"
"time" "time"
) )
+1 -1
View File
@@ -1,7 +1,7 @@
package schema package schema
import ( import (
"git.gorlug.de/code/golang/ersteller-lib/schema/ent" "ersteller-lib/schema/ent"
"entgo.io/ent" "entgo.io/ent"
"entgo.io/ent/schema/edge" "entgo.io/ent/schema/edge"
+1 -1
View File
@@ -1,7 +1,7 @@
package schema package schema
import ( import (
"git.gorlug.de/code/golang/ersteller-lib/schema/ent" "ersteller-lib/schema/ent"
"entgo.io/ent" "entgo.io/ent"
"entgo.io/ent/schema/edge" "entgo.io/ent/schema/edge"
+1 -1
View File
@@ -1,7 +1,7 @@
package schema package schema
import ( import (
"git.gorlug.de/code/golang/ersteller-lib/schema/ent" "ersteller-lib/schema/ent"
"entgo.io/ent" "entgo.io/ent"
"entgo.io/ent/schema/edge" "entgo.io/ent/schema/edge"
+2 -2
View File
@@ -3,9 +3,9 @@
package ent package ent
import ( import (
"ersteller-lib/schema/ent/example/ent/group"
"ersteller-lib/schema/ent/example/ent/todo"
"fmt" "fmt"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/group"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/todo"
"strings" "strings"
"time" "time"
+1 -1
View File
@@ -3,7 +3,7 @@
package todo package todo
import ( import (
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/predicate" "ersteller-lib/schema/ent/example/ent/predicate"
"time" "time"
"entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql"
+2 -2
View File
@@ -5,9 +5,9 @@ package ent
import ( import (
"context" "context"
"errors" "errors"
"ersteller-lib/schema/ent/example/ent/group"
"ersteller-lib/schema/ent/example/ent/todo"
"fmt" "fmt"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/group"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/todo"
"time" "time"
"entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/dialect/sql/sqlgraph"
+2 -2
View File
@@ -4,8 +4,8 @@ package ent
import ( import (
"context" "context"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/predicate" "ersteller-lib/schema/ent/example/ent/predicate"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/todo" "ersteller-lib/schema/ent/example/ent/todo"
"entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql"
"entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/dialect/sql/sqlgraph"
+3 -3
View File
@@ -4,10 +4,10 @@ package ent
import ( import (
"context" "context"
"ersteller-lib/schema/ent/example/ent/group"
"ersteller-lib/schema/ent/example/ent/predicate"
"ersteller-lib/schema/ent/example/ent/todo"
"fmt" "fmt"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/group"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/predicate"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/todo"
"math" "math"
"entgo.io/ent" "entgo.io/ent"
+3 -3
View File
@@ -5,10 +5,10 @@ package ent
import ( import (
"context" "context"
"errors" "errors"
"ersteller-lib/schema/ent/example/ent/group"
"ersteller-lib/schema/ent/example/ent/predicate"
"ersteller-lib/schema/ent/example/ent/todo"
"fmt" "fmt"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/group"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/predicate"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/todo"
"time" "time"
"entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql"
+1 -1
View File
@@ -3,8 +3,8 @@
package ent package ent
import ( import (
"ersteller-lib/schema/ent/example/ent/user"
"fmt" "fmt"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/user"
"strings" "strings"
"time" "time"
+1 -1
View File
@@ -3,7 +3,7 @@
package user package user
import ( import (
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/predicate" "ersteller-lib/schema/ent/example/ent/predicate"
"time" "time"
"entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql"
+2 -2
View File
@@ -5,9 +5,9 @@ package ent
import ( import (
"context" "context"
"errors" "errors"
"ersteller-lib/schema/ent/example/ent/group"
"ersteller-lib/schema/ent/example/ent/user"
"fmt" "fmt"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/group"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/user"
"time" "time"
"entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/dialect/sql/sqlgraph"
+2 -2
View File
@@ -4,8 +4,8 @@ package ent
import ( import (
"context" "context"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/predicate" "ersteller-lib/schema/ent/example/ent/predicate"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/user" "ersteller-lib/schema/ent/example/ent/user"
"entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql"
"entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/dialect/sql/sqlgraph"
+3 -3
View File
@@ -5,10 +5,10 @@ package ent
import ( import (
"context" "context"
"database/sql/driver" "database/sql/driver"
"ersteller-lib/schema/ent/example/ent/group"
"ersteller-lib/schema/ent/example/ent/predicate"
"ersteller-lib/schema/ent/example/ent/user"
"fmt" "fmt"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/group"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/predicate"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/user"
"math" "math"
"entgo.io/ent" "entgo.io/ent"
+3 -3
View File
@@ -5,10 +5,10 @@ package ent
import ( import (
"context" "context"
"errors" "errors"
"ersteller-lib/schema/ent/example/ent/group"
"ersteller-lib/schema/ent/example/ent/predicate"
"ersteller-lib/schema/ent/example/ent/user"
"fmt" "fmt"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/group"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/predicate"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/user"
"time" "time"
"entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql"
+4 -4
View File
@@ -2,11 +2,11 @@ package main
import ( import (
"context" "context"
"ersteller-lib/schema/ent/example/ent"
"ersteller-lib/schema/ent/example/ent/group"
"ersteller-lib/schema/ent/example/ent/todo"
"ersteller-lib/schema/ent/example/ent/user"
"fmt" "fmt"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/group"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/todo"
"git.gorlug.de/code/golang/ersteller-lib/schema/ent/example/ent/user"
"log" "log"
"time" "time"
+1 -1
View File
@@ -4,8 +4,8 @@ import (
"context" "context"
"encoding/json" "encoding/json"
"errors" "errors"
"ersteller-lib"
"fmt" "fmt"
"git.gorlug.de/code/golang/ersteller-lib"
"github.com/doug-martin/goqu/v9" "github.com/doug-martin/goqu/v9"
_ "github.com/doug-martin/goqu/v9/dialect/postgres" _ "github.com/doug-martin/goqu/v9/dialect/postgres"
"github.com/doug-martin/goqu/v9/exp" "github.com/doug-martin/goqu/v9/exp"