Skip to content

Commit

Permalink
chore: fix module name
Browse files Browse the repository at this point in the history
  • Loading branch information
tomMoulard committed Mar 29, 2022
1 parent f38367b commit 0e8eec3
Show file tree
Hide file tree
Showing 15 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .traefik.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
displayName: Header transformation
type: middleware

import: github.com/tommoulard/htransformation
import: github.com/tomMoulard/htransformation

summary: 'Transform some headers with some other ones, see https://github.com/traefik/traefik/issues/6047'

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pilot:
experimental:
devPlugin:
goPath: /home/tm/go
moduleName: github.com/tommoulard/htransformation
moduleName: github.com/tomMoulard/htransformation

entryPoints:
http:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/tommoulard/htransformation
module github.com/tomMoulard/htransformation

go 1.13

Expand Down
12 changes: 6 additions & 6 deletions htransformation.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ import (
"net/http"
"regexp"

"github.com/tommoulard/htransformation/pkg/handler/deleter"
"github.com/tommoulard/htransformation/pkg/handler/join"
"github.com/tommoulard/htransformation/pkg/handler/rename"
"github.com/tommoulard/htransformation/pkg/handler/rewrite"
"github.com/tommoulard/htransformation/pkg/handler/set"
"github.com/tommoulard/htransformation/pkg/types"
"github.com/tomMoulard/htransformation/pkg/handler/deleter"
"github.com/tomMoulard/htransformation/pkg/handler/join"
"github.com/tomMoulard/htransformation/pkg/handler/rename"
"github.com/tomMoulard/htransformation/pkg/handler/rewrite"
"github.com/tomMoulard/htransformation/pkg/handler/set"
"github.com/tomMoulard/htransformation/pkg/types"
)

// HeadersTransformation holds the necessary components of a Traefik plugin.
Expand Down
4 changes: 2 additions & 2 deletions htransformation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
plug "github.com/tommoulard/htransformation"
"github.com/tommoulard/htransformation/pkg/types"
plug "github.com/tomMoulard/htransformation"
"github.com/tomMoulard/htransformation/pkg/types"
)

func TestValidation(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/handler/deleter/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package deleter
import (
"net/http"

"github.com/tommoulard/htransformation/pkg/types"
"github.com/tomMoulard/htransformation/pkg/types"
)

func Handle(_ http.ResponseWriter, req *http.Request, rule types.Rule) {
Expand Down
4 changes: 2 additions & 2 deletions pkg/handler/deleter/delete_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/tommoulard/htransformation/pkg/handler/deleter"
"github.com/tommoulard/htransformation/pkg/types"
"github.com/tomMoulard/htransformation/pkg/handler/deleter"
"github.com/tomMoulard/htransformation/pkg/types"
)

func TestDeleteHandler(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/handler/join/join.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"net/http"
"strings"

"github.com/tommoulard/htransformation/pkg/types"
"github.com/tomMoulard/htransformation/pkg/types"
)

func Handle(_ http.ResponseWriter, req *http.Request, rule types.Rule) {
Expand Down
4 changes: 2 additions & 2 deletions pkg/handler/join/join_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/tommoulard/htransformation/pkg/handler/join"
"github.com/tommoulard/htransformation/pkg/types"
"github.com/tomMoulard/htransformation/pkg/handler/join"
"github.com/tomMoulard/htransformation/pkg/types"
)

func TestJoinHandler(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/handler/rename/rename.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package rename
import (
"net/http"

"github.com/tommoulard/htransformation/pkg/types"
"github.com/tomMoulard/htransformation/pkg/types"
)

func Handle(_ http.ResponseWriter, req *http.Request, rule types.Rule) {
Expand Down
4 changes: 2 additions & 2 deletions pkg/handler/rename/rename_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/tommoulard/htransformation/pkg/handler/rename"
"github.com/tommoulard/htransformation/pkg/types"
"github.com/tomMoulard/htransformation/pkg/handler/rename"
"github.com/tomMoulard/htransformation/pkg/types"
)

func TestRenameHandler(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/handler/rewrite/rewrite.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"regexp"
"strings"

"github.com/tommoulard/htransformation/pkg/types"
"github.com/tomMoulard/htransformation/pkg/types"
)

func Handle(_ http.ResponseWriter, req *http.Request, rule types.Rule) {
Expand Down
4 changes: 2 additions & 2 deletions pkg/handler/rewrite/rewrite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/tommoulard/htransformation/pkg/handler/rewrite"
"github.com/tommoulard/htransformation/pkg/types"
"github.com/tomMoulard/htransformation/pkg/handler/rewrite"
"github.com/tomMoulard/htransformation/pkg/types"
)

func TestRewriteHandler(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/handler/set/set.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package set
import (
"net/http"

"github.com/tommoulard/htransformation/pkg/types"
"github.com/tomMoulard/htransformation/pkg/types"
)

func Handle(_ http.ResponseWriter, req *http.Request, rule types.Rule) {
Expand Down
4 changes: 2 additions & 2 deletions pkg/handler/set/set_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/tommoulard/htransformation/pkg/handler/set"
"github.com/tommoulard/htransformation/pkg/types"
"github.com/tomMoulard/htransformation/pkg/handler/set"
"github.com/tomMoulard/htransformation/pkg/types"
)

func TestSetHandler(t *testing.T) {
Expand Down

0 comments on commit 0e8eec3

Please sign in to comment.