MCPcopy Index your code
hub / github.com/NdoleStudio/httpsms / getInt

Method getInt

api/pkg/requests/request.go:143–146  ·  view source on GitHub ↗

getLimit gets the take as a string

(value string)

Source from the content-addressed store, hash-verified

141
142// getLimit gets the take as a string
143func (input *request) getInt(value string) int {
144 val, _ := strconv.Atoi(value)
145 return val
146}
147
148func (input *request) isDigits(value string) bool {
149 for _, c := range value {

Callers 8

ToSearchParamsMethod · 0.45
ToIndexParamsMethod · 0.45
ToIndexParamsMethod · 0.45
ToGetParamsMethod · 0.45
ToIndexParamsMethod · 0.45
ToIndexParamsMethod · 0.45
ToIndexParamsMethod · 0.45
ToIndexParamsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected