change mod name

This commit is contained in:
shchva 2025-01-17 01:30:05 +03:00
parent 876df38907
commit 43586728d2
9 changed files with 14 additions and 14 deletions

View File

@ -9,7 +9,7 @@ import (
"errors" "errors"
"io" "io"
"git.daebt.dev/auth/algo" "git.daebt.dev/golang/auth/algo"
) )
const ( const (

View File

@ -5,7 +5,7 @@ import (
"fmt" "fmt"
"testing" "testing"
"git.daebt.dev/auth/algo/rs" "git.daebt.dev/golang/auth/algo/rs"
) )
var pub = `-----BEGIN RSA PUBLIC KEY----- var pub = `-----BEGIN RSA PUBLIC KEY-----

2
go.mod
View File

@ -1,4 +1,4 @@
module git.daebt.dev/auth module git.daebt.dev/golang/auth
go 1.23.3 go 1.23.3

View File

@ -5,8 +5,8 @@ import (
"errors" "errors"
"io" "io"
"git.daebt.dev/auth/algo" "git.daebt.dev/golang/auth/algo"
"git.daebt.dev/auth/algo/rs" "git.daebt.dev/golang/auth/algo/rs"
) )
type Token interface { type Token interface {

View File

@ -5,9 +5,9 @@ import (
"fmt" "fmt"
"testing" "testing"
"git.daebt.dev/auth/algo" "git.daebt.dev/golang/auth/algo"
"git.daebt.dev/auth/jwk" "git.daebt.dev/golang/auth/jwk"
"git.daebt.dev/auth/jwt" "git.daebt.dev/golang/auth/jwt"
) )
var rows = `{ var rows = `{

View File

@ -6,8 +6,8 @@ import (
"errors" "errors"
"math/big" "math/big"
"git.daebt.dev/auth/algo" "git.daebt.dev/golang/auth/algo"
"git.daebt.dev/auth/algo/rs" "git.daebt.dev/golang/auth/algo/rs"
) )
type TokenRSA struct { type TokenRSA struct {

View File

@ -3,7 +3,7 @@ package jwt
import ( import (
"encoding/base64" "encoding/base64"
"git.daebt.dev/auth/algo" "git.daebt.dev/golang/auth/algo"
) )
type Header struct { type Header struct {

View File

@ -9,7 +9,7 @@ import (
"strings" "strings"
"time" "time"
"git.daebt.dev/auth/algo" "git.daebt.dev/golang/auth/algo"
) )
var ( var (

View File

@ -6,8 +6,8 @@ import (
"testing" "testing"
"time" "time"
"git.daebt.dev/auth/algo/rs" "git.daebt.dev/golang/auth/algo/rs"
"git.daebt.dev/auth/jwt" "git.daebt.dev/golang/auth/jwt"
) )
var key = `-----BEGIN RSA PRIVATE KEY----- var key = `-----BEGIN RSA PRIVATE KEY-----