github.com/bytedance/go-tagexpr@v2.7.5-0.20210114074101-de5b8743ad85+incompatible/binding/pathparam.go (about)

     1  package binding
     2  
     3  // PathParams parameter acquisition interface on the URL path
     4  type PathParams interface {
     5  	// Get returns the value of the first parameter which key matches the given name.
     6  	// If no matching parameter is found, an empty string is returned.
     7  	Get(name string) (string, bool)
     8  }