gentlemanbind

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bind

func Bind(requestData interface{}) p.Plugin

Bind binds a struct to a gentleman request using the tags of the struct. If you want to bind a non-struct object, use the builtin JSON, Param(s) and (Set|Add)Query methods.

The following tags are valid:

  • json: marks body fields
  • param: marks url params
  • query: marks query params

Types

This section is empty.

Jump to

Keyboard shortcuts

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