Skip to content

Commit

Permalink
chore: completed project rename
Browse files Browse the repository at this point in the history
  • Loading branch information
noxecane committed Oct 14, 2021
1 parent b4c1073 commit 1516120
Show file tree
Hide file tree
Showing 19 changed files with 28 additions and 32 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020 tsaron
Copyright (c) 2020 noxecane

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
6 changes: 3 additions & 3 deletions ajax/ajax.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import (
"net/http"
"time"

"github.com/noxecane/anansi/api"
"github.com/noxecane/anansi/json"
"github.com/noxecane/anansi/jwt"
"github.com/pkg/errors"
"github.com/tsaron/anansi/api"
"github.com/tsaron/anansi/json"
"github.com/tsaron/anansi/jwt"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion ajax/ajax_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"testing"
"time"

"github.com/noxecane/anansi/jwt"
"github.com/segmentio/ksuid"
"github.com/tsaron/anansi/jwt"
"syreclabs.com/go/faker"
)

Expand Down
4 changes: 2 additions & 2 deletions api/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"time"

"github.com/go-redis/redis/v8"
"github.com/tsaron/anansi/sessions"
"github.com/tsaron/anansi/tokens"
"github.com/noxecane/anansi/sessions"
"github.com/noxecane/anansi/tokens"
)

var store *sessions.Store
Expand Down
2 changes: 1 addition & 1 deletion api/middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"os"
"runtime"

"github.com/noxecane/anansi/sessions"
"github.com/rs/zerolog"
"github.com/tsaron/anansi/sessions"
)

// STACK_SIZE is the number of bytes to print to stderr when recovering from a panic
Expand Down
6 changes: 3 additions & 3 deletions api/middleware_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import (
"github.com/go-chi/chi"
"github.com/rs/zerolog"

"github.com/tsaron/anansi/json"
"github.com/tsaron/anansi/jwt"
"github.com/tsaron/anansi/requests"
"github.com/noxecane/anansi/json"
"github.com/noxecane/anansi/jwt"
"github.com/noxecane/anansi/requests"
)

func TestRecoverer(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion api/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"net/http"

validation "github.com/go-ozzo/ozzo-validation/v4"
"github.com/tsaron/anansi/requests"
"github.com/noxecane/anansi/requests"
)

// ReadJSON parses the body of an http request into the value pointed by v.
Expand Down
2 changes: 1 addition & 1 deletion api/request_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

"github.com/go-chi/chi"
ozzo "github.com/go-ozzo/ozzo-validation/v4"
"github.com/tsaron/anansi/json"
"github.com/noxecane/anansi/json"
"syreclabs.com/go/faker"
)

Expand Down
2 changes: 1 addition & 1 deletion api/response.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"net/http"
"strings"

"github.com/noxecane/anansi/responses"
"github.com/rs/zerolog"
"github.com/tsaron/anansi/responses"
)

// Success sends a JSend success message with status code 200. It logs the response
Expand Down
4 changes: 2 additions & 2 deletions api/response_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"testing"

"github.com/go-chi/chi"
"github.com/noxecane/anansi/json"
"github.com/noxecane/anansi/requests"
"github.com/rs/zerolog"
"github.com/tsaron/anansi/json"
"github.com/tsaron/anansi/requests"
"syreclabs.com/go/faker"
)

Expand Down
2 changes: 1 addition & 1 deletion api/sessions.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package api
import (
"net/http"

"github.com/tsaron/anansi/sessions"
"github.com/noxecane/anansi/sessions"
)

func LoadBearer(s *sessions.Store, r *http.Request, v interface{}) {
Expand Down
4 changes: 0 additions & 4 deletions rand.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,3 @@ func RandomString(s int) (string, error) {
b, err := RandomBytes(s / 2)
return hex.EncodeToString(b), err
}

func Okay() {

}
2 changes: 1 addition & 1 deletion requests/body.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
ozzo "github.com/go-ozzo/ozzo-validation/v4"
"github.com/go-playground/mold/v3"
"github.com/go-playground/mold/v3/modifiers"
"github.com/tsaron/anansi/json"
"github.com/noxecane/anansi/json"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion requests/middleware_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"time"

"github.com/go-chi/chi"
"github.com/noxecane/anansi/json"
"github.com/rs/zerolog"
"github.com/tsaron/anansi/json"
"syreclabs.com/go/faker"
)

Expand Down
2 changes: 1 addition & 1 deletion responses/send_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"testing"

"github.com/go-chi/chi"
"github.com/tsaron/anansi/json"
"github.com/noxecane/anansi/json"
"syreclabs.com/go/faker"
)

Expand Down
4 changes: 2 additions & 2 deletions sessions/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"strings"
"time"

"github.com/tsaron/anansi/jwt"
"github.com/tsaron/anansi/tokens"
"github.com/noxecane/anansi/jwt"
"github.com/noxecane/anansi/tokens"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions sessions/store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"time"

"github.com/go-redis/redis/v8"
"github.com/tsaron/anansi/jwt"
"github.com/tsaron/anansi/tokens"
"github.com/noxecane/anansi/jwt"
"github.com/noxecane/anansi/tokens"
)

var sharedTestStore tokens.Store
Expand Down
2 changes: 1 addition & 1 deletion tokens/redis_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"time"

"github.com/go-redis/redis/v8"
"github.com/tsaron/anansi/json"
"github.com/noxecane/anansi/json"
)

var (
Expand Down
6 changes: 3 additions & 3 deletions webpack/webpack.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import (

"github.com/go-chi/chi"
"github.com/go-chi/chi/middleware"
"github.com/noxecane/anansi/api"
"github.com/noxecane/anansi/requests"
"github.com/noxecane/anansi/responses"
"github.com/prometheus/client_golang/prometheus"
"github.com/rs/zerolog"
"github.com/tsaron/anansi/api"
"github.com/tsaron/anansi/requests"
"github.com/tsaron/anansi/responses"
)

// WebpackOpts are configuration values for the Webpack middleware
Expand Down

0 comments on commit 1516120

Please sign in to comment.