another

package module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2022 License: MIT Imports: 2 Imported by: 0

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 

Documentation

Index

Examples

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL