Skip to content

Commit

Permalink
Removes already declared methods from CommonContext
Browse files Browse the repository at this point in the history
  • Loading branch information
EwenQuim committed Dec 20, 2024
1 parent a116c53 commit e1d7a28
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions extra/fuegogin/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package fuegogin
import (
"context"
"net/http"
"net/url"

"github.com/gin-gonic/gin"

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

func (c ginContext[B]) QueryParam(name string) string {
return c.ginCtx.Query(name)
}

func (c ginContext[B]) QueryParamArr(name string) []string {
panic("unimplemented")
}

func (c ginContext[B]) QueryParamBool(name string) bool {
panic("unimplemented")
}

func (c ginContext[B]) QueryParamBoolErr(name string) (bool, error) {
panic("unimplemented")
}

func (c ginContext[B]) QueryParamInt(name string) int {
panic("unimplemented")
}

func (c ginContext[B]) QueryParamIntErr(name string) (int, error) {
panic("unimplemented")
}

func (c ginContext[B]) QueryParams() url.Values {
return c.ginCtx.Request.URL.Query()
}

func (c ginContext[B]) MainLang() string {
panic("unimplemented")
}
Expand Down

0 comments on commit e1d7a28

Please sign in to comment.