You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pathvalue - Demonstrates PathValue usage for retrieving URL parameters
Usage
go get -v -d -u ./... - fetch example deps
cd <example>/ ie. cd rest/
go run *.go - note, example services run on port 3333
Open another terminal and use curl to send some requests to your example service,
curl -v http://localhost:3333/
Read /main.go source to learn how service works and read comments for usage