Skip to content

Commit ea8c226

Browse files
committed
refactor: rename
1 parent 53bb929 commit ea8c226

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

context.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ const (
4141
)
4242

4343
// BodyBytesKey indicates a default body bytes key.
44-
const BodyBytesKey = "_gin-gonic/gin/bodybyteskey"
44+
const BodyBytesKey = "_PHPDevsr/gin-forked/bodybyteskey"
4545

4646
// ContextKey is the key that a Context returns itself for.
47-
const ContextKey = "_gin-gonic/gin/contextkey"
47+
const ContextKey = "_PHPDevsr/gin-forked/contextkey"
4848

4949
type ContextKeyType int
5050

context_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ func TestContextHandlerNames(t *testing.T) {
600600

601601
assert.Len(t, names, 4)
602602
for _, name := range names {
603-
assert.Regexp(t, `^(.*/vendor/)?(github\.com/gin-gonic/gin\.){1}(TestContextHandlerNames\.func.*){0,1}(handlerNameTest.*){0,1}`, name)
603+
assert.Regexp(t, `^(.*/vendor/)?(github\.com/PHPDevsr/gin-forked\.){1}(TestContextHandlerNames\.func.*){0,1}(handlerNameTest.*){0,1}`, name)
604604
}
605605
}
606606

utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717
)
1818

1919
// BindKey indicates a default bind key.
20-
const BindKey = "_gin-gonic/gin/bindkey"
20+
const BindKey = "_PHPDevsr/gin-forked/bindkey"
2121

2222
// Bind is a helper function for given interface object and returns a Gin middleware.
2323
func Bind(val any) HandlerFunc {

0 commit comments

Comments
 (0)