Home / Class/ regEnLetter Class — gin Architecture

regEnLetter Class — gin Architecture

Architecture documentation for the regEnLetter class in routergroup.go from the gin codebase.

Entity Profile

Dependency Diagram

graph TD
  a8bd5e91_0402_90b3_ac5a_b511d8098572["regEnLetter"]
  90c6fc95_95bf_b935_fc1f_e0e4861e1b09["routergroup.go"]
  a8bd5e91_0402_90b3_ac5a_b511d8098572 -->|defined in| 90c6fc95_95bf_b935_fc1f_e0e4861e1b09

Relationship Graph

Source Code

routergroup.go lines 14–24

var (
	// regEnLetter matches english letters for http method name
	regEnLetter = regexp.MustCompile("^[A-Z]+$")

	// anyMethods for RouterGroup Any method
	anyMethods = []string{
		http.MethodGet, http.MethodPost, http.MethodPut, http.MethodPatch,
		http.MethodHead, http.MethodOptions, http.MethodDelete, http.MethodConnect,
		http.MethodTrace,
	}
)

Defined In

Frequently Asked Questions

What is the regEnLetter class?
regEnLetter is a class in the gin codebase, defined in routergroup.go.
Where is regEnLetter defined?
regEnLetter is defined in routergroup.go at line 14.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free