README ¶ Quick start In your code import _ "github.com/gregoryv/another" in another project, vendor dependencies $ go mod vendor then generate swagger from the dependencies $ swag init --parseVendor Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func GetGopher(w http.ResponseWriter, r *http.Request) Examples ¶ GetGopher Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetGopher ¶ func GetGopher(w http.ResponseWriter, r *http.Request) @Success 200 {object} another.GetGopher.response @Router /another [get] Example ¶ GetGopher(ex.JsonOf( http.NewRequest("GET", "/another", nil), )) Output: { "color":"pink" } Types ¶ This section is empty. Source Files ¶ View all Source files handler.go Click to show internal directories. Click to hide internal directories.