helpers

package
v0.0.0-...-bb4e2af Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package helpers provides utility functions for request body encoding, including MarshalForm for form-encoded request bodies.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarshalForm

func MarshalForm(body interface{}) (url.Values, error)

MarshalForm marshals a struct into url.Values using the struct's json tags as field names. It handles nested structs, slices, pointers, and AdditionalProperties maps.

Types

This section is empty.

Jump to

Keyboard shortcuts

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