Skip to content

Commit 5ac66e9

Browse files
committed
Removes already declared methods from CommonContext
1 parent ac58a24 commit 5ac66e9

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

extra/fuegogin/context.go

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package fuegogin
33
import (
44
"context"
55
"net/http"
6-
"net/url"
76

87
"github.com/gin-gonic/gin"
98

@@ -48,34 +47,6 @@ func (c ginContext[B]) PathParam(name string) string {
4847
return c.ginCtx.Param(name)
4948
}
5049

51-
func (c ginContext[B]) QueryParam(name string) string {
52-
return c.ginCtx.Query(name)
53-
}
54-
55-
func (c ginContext[B]) QueryParamArr(name string) []string {
56-
panic("unimplemented")
57-
}
58-
59-
func (c ginContext[B]) QueryParamBool(name string) bool {
60-
panic("unimplemented")
61-
}
62-
63-
func (c ginContext[B]) QueryParamBoolErr(name string) (bool, error) {
64-
panic("unimplemented")
65-
}
66-
67-
func (c ginContext[B]) QueryParamInt(name string) int {
68-
panic("unimplemented")
69-
}
70-
71-
func (c ginContext[B]) QueryParamIntErr(name string) (int, error) {
72-
panic("unimplemented")
73-
}
74-
75-
func (c ginContext[B]) QueryParams() url.Values {
76-
return c.ginCtx.Request.URL.Query()
77-
}
78-
7950
func (c ginContext[B]) MainLang() string {
8051
panic("unimplemented")
8152
}

0 commit comments

Comments
 (0)