github.com/bytedance/go-tagexpr/v2@v2.9.8/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  }